Please leave a comment If you found BROKEN LINK OK, thanks for visit my website,...!!!

Shooter Game Chrome PC Free Download Shooter Game Angels Fall First: Planetstorm PC Download Harvest Moon - Back To Nature PC Game Download Download PC Game TMNT 2 : Battle Nexus RIP MediaFire Prince Of Persia Warrior Within Download PC Game Resident Evil 2 img 1 metal slug super vehicle Devil May Cry 3 Portable Cool Game Download

Search


Program Arithmetic Operations


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Program InputOutput;
uses crt;
var x,y,sum : integer;
begin
Clrscr;
{Entering values into variables x and y}
write(‘Input First Number : ‘);
Readln(x);
write(‘Input Second Number : ‘);
Readln(y);
writeln;
{Perform arithmetic operations with respect to x and y}
writeln(‘x + y = ‘, x + y);
writeln(‘x - y = ‘, x - y);
writeln(‘x * y = ‘, x * y);
writeln(‘x / y = ‘, x / y) : 0 : 3);
writeln(‘x div y = ‘, x div y);
writeln(‘x mod y = ‘, x mod y);
Readln ;
End.

If the above program code at compile and run the results will be displayed like this :
Output Program :
Input First Number : 10
Input Second Number : 3

x + y = 13
x + y = 7
x + y = 30
x + y = 3.333
x + y = 3
x + y = 1


Related Post

0 komentar:

Posting Komentar