Bitcoin Forum
December 13, 2017, 11:04:53 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: pascal  (Read 174 times)
tarsua
Sr. Member
****
Offline Offline

Activity: 266


View Profile
November 17, 2015, 07:51:47 PM
 #1

find the error
Code:
Program Lesson1_program3;
Var    WriteIn

     Num1, Num2, Sum : Integer;

Begin
 Write ('Input Number 1:');
 ReadIn(Num1);
 WriteIn('Input number 2:');
 ReadIn(Num2);
 Sum:= Num1 + Num2;
 WriteIn(Sum);
 ReadIn;
End.
1513206293
Hero Member
*
Offline Offline

Posts: 1513206293

View Profile Personal Message (Offline)

Ignore
1513206293
Reply with quote  #2

1513206293
Report to moderator
1513206293
Hero Member
*
Offline Offline

Posts: 1513206293

View Profile Personal Message (Offline)

Ignore
1513206293
Reply with quote  #2

1513206293
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513206293
Hero Member
*
Offline Offline

Posts: 1513206293

View Profile Personal Message (Offline)

Ignore
1513206293
Reply with quote  #2

1513206293
Report to moderator
1513206293
Hero Member
*
Offline Offline

Posts: 1513206293

View Profile Personal Message (Offline)

Ignore
1513206293
Reply with quote  #2

1513206293
Report to moderator
dragansk1
Full Member
***
Offline Offline

Activity: 126


Hello


View Profile
November 18, 2015, 12:02:14 AM
 #2

My favorite programming language. I like it. So I found your error.

Code:

program Lesson1_program3;
var

     Num1, Num2, Sum : integer;

begin
 Write ('Input Number 1:');
 Read(Num1);
 Write('Input number 2:');
 Read(Num2);
 Sum:= Num1 + Num2;
 Write(Sum);
 Read;
end.

Can you run it? I dont have compiler.

loading...
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!