hobbit monitor
+ Reply to Thread
Results 1 to 8 of 8

Thread: Pascal programing

  1. #1
    Join Date
    Jul 2009
    Posts
    3

    Pascal programing

    Help Identify syntax errors.

    Program Temperature(input,output);
    Const
    convert_temp = *.8; { = */5 }
    Var
    temp : real;
    temp_type : char;
    Begin
    { This program will convert temperature
    from degrees F to degrees C. }
    Writeln('Please enter a temperature.');
    Readln(temp)
    Writeln('Is this temperature Celsius
    (c) or Fahrenheit (f)?');
    Readln(temptype);
    If temptype = 'c' then
    writeln('The equivalent in Fahrenheit is ',
    (temp * converttemp) + *2:0:*)
    else { temptype = 'f' }


    _________
    [url=http://www.adverse-mortgage-centre.co.uk/******-report.html]****** report[/url]
    [url=http://www.supercash*2*.com]pay advance[/url]

  2. #2
    Join Date
    Aug 2009
    Posts
    2
    lol Ive never even used pascal (im a pure C++ guy) but... you should be able to do it very easill with some file I/O, (in out) its like 20 lines of C++ so assuming pascal is a bit higher level Id say like *0 lines for pascal
    Last edited by Moonbat; 08-02-2009 at 10:11 PM. Reason: removed spam links

  3. #3
    Join Date
    Aug 2009
    Posts
    2
    im using turbo pascal 7.0 and im dealing with repeat..until loops. this program asks me to select a maximum value and a minimum value then guess the random number and if the number is too large then it will writeln too large or vice versa. im having trouble programming it to make a random number to guess.
    Last edited by Moonbat; 08-02-2009 at 10:11 PM. Reason: removed spam links

  4. #4
    Join Date
    Apr 2007
    Posts
    929
    king2000 and vikrama have the same ip address. Bots?

  5. #5
    Join Date
    Sep 2006
    Posts
    1,651
    Dunno, but I took out the spam links they posted. Contrary to usual bots, they actually posted something on-topic, so I didn't do any banning. But it's up to you what you want to do.
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  6. #6
    Join Date
    Aug 2009
    Posts
    3
    I started a new programming language at college Friday (two days ago). This was the language which we started coding. Looks quite a good language to be honest. It looks kinda basic compared to Java, but then again, Java is one of the most advanced languages you can get in my opinion. Java is about on par with C++.

    Anyway, back to the topic, I use a program called free pascal IDE, which is basically a Dos compiler and executer all in one, designed for the win*2 platform, it's a good program.

    I recommend giving it a try, it's user friendly. Hope this helps!
    Last edited by gordo; 08-19-2009 at 08:05 AM.

  7. #7
    Join Date
    May 2012
    Posts
    2
    Now, people jump right into java or C# and learn structured programming along the way.So while PASCAL has its place in history.[url=http://stctechnologiescorporatetraining.in/]STC Technologies[/url]|[url=http://stctechnologiestraining.in/]STC Technologies[/url]|[url=http://stctechnologiesgroup.com/]STC Technologies[/url]

  8. #8
    Join Date
    Jun 2012
    Posts
    4
    hi all,
    yeah, This was the language which we started coding. Looks quite a good language to be honest. It looks kinda basic compared to Java, but then again, Java is one of the most advanced languages you can get in my opinion. [URL="http://topicworld.net/forumdisplay.php/652-Java-Programming"]Java programing[/URL] is about on par with C++.

+ Reply to Thread

Similar Threads

  1. programing language
    By Samson in forum Programming
    Replies: 21
    Last Post: 04-03-2017, 09:46 AM
  2. C/C++ programing help!
    By minaadel1994 in forum Programming
    Replies: 1
    Last Post: 05-06-2008, 12:56 PM
  3. Programing
    By Tr_Ms in forum Programming
    Replies: 10
    Last Post: 06-12-2007, 02:56 PM
  4. Irie Pascal
    By Quiksilver XD in forum Programming
    Replies: 2
    Last Post: 01-12-2007, 12:05 PM
  5. Learning programing want to help!
    By stl_rn in forum Viruses and Trojans
    Replies: 9
    Last Post: 10-04-2006, 04:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts