Bitcoin Forum
February 25, 2018, 09:53:16 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
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.
1519595596
Hero Member
*
Offline Offline

Posts: 1519595596

View Profile Personal Message (Offline)

Ignore
1519595596
Reply with quote  #2

1519595596
Report to moderator
1519595596
Hero Member
*
Offline Offline

Posts: 1519595596

View Profile Personal Message (Offline)

Ignore
1519595596
Reply with quote  #2

1519595596
Report to moderator
Automated Bitcoin Fork Extraction Tool WE DO TOUGH WALLETS: BCH | BTG | BCD | SBTC | UBTC | B2X | BCX | BTF Electrum 2FA, Trezor, Ledger, SegWit, Bech32
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1519595596
Hero Member
*
Offline Offline

Posts: 1519595596

View Profile Personal Message (Offline)

Ignore
1519595596
Reply with quote  #2

1519595596
Report to moderator
1519595596
Hero Member
*
Offline Offline

Posts: 1519595596

View Profile Personal Message (Offline)

Ignore
1519595596
Reply with quote  #2

1519595596
Report to moderator
1519595596
Hero Member
*
Offline Offline

Posts: 1519595596

View Profile Personal Message (Offline)

Ignore
1519595596
Reply with quote  #2

1519595596
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!