Jasa SEO | Desain website | Iklan ads | backlink | serp google - 1
78 / 100
For this time, let's discuss how to make a simple calculator with turbo Pascal programming, Make a Simple Calculator with Turbo PASCAL
Membuat Kalkulator sederhana dengan Turbo Pascal
Create a Simple Calculator with Turbo Pascal
Make a Simple Calculator with Turbo PASCAL
Here's how to make a simple calculator program, just follow the steps :
Prepare the Pascal Turbo program, and make sure the program is installed !!!
If not, please download at the following links :
link 1 : turbo pascal for win 7 & 8
link 2 : turbo pascal for win 7 & 8
if you have entered the following program code :

Code program
uses crt;
there is
a,c,d : integer;
operator, With:char;
begin
repeat
clrscr;
Writeln('INSTRUCTION:’);
Writeln(‘1. Enter the first number');
Writeln(‘2. Enter operator (+, -, /, *)’);
Writeln(‘3. Enter the second number');
Writeln (‘——————————-‘);
Writeln('CALCULATION: ‘);
Writeln (‘——————————‘);
Write('Enter number: ‘); readln(a);
write(‘Operator: ‘); readln(Operator);
write('Number two': ‘); readln(c);
case operator of
‘+’: d:=a + c;
‘-‘: d:=a – c;
‘/’: d:=a div c;
‘*’: d:=a * c;
end;
writeln('Results: ‘,d);
writeln;
writeln ('By: M. Fadli');
writeln;
Write('Count again? (y / n) ‘); readln(With);
until Upcase(With) <> 'AND';
 end.

By admin

Writer

One thought on “Create a Simple Calculator with Turbo Pascal”

Leave a Reply

Your email address will not be published. Required fields are marked *