Bitcoin Forum
June 25, 2018, 03:23:42 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: pascal  (Read 174 times)
tarsua
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


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.
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

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

Posts: 1529897022

View Profile Personal Message (Offline)

Ignore
1529897022
Reply with quote  #2

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

Activity: 126
Merit: 100


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!