Program w Pascalu


Wykład 2 10.10.2006r

Program witaj;

uses crt;

var a,b: real;

Begin

clrscr

writeln (`podaj a');

readln (a);

writeln (`podaj b');

readln (b);

writeln;

writeln (`a+b = `, a+b);

writeln (`a-b = `, a-b);

writeln (`a*b = `, a*b);

writeln (`a/b = `, a/b);

writeln (a mod b = `, a mod b);

readln;

end



Wyszukiwarka

Podobne podstrony:
Opis programów w Pascalu
Spr z I części Programowanie Pascal Pojęcia
Pliki0MSoffice, Programowanie, Pascal
Mój pierwszy program w Pascalu
Pliki1MSoffice, Programowanie, Pascal
Mój pierwszy program w Pascalu
programy W pascalu
Programowanie w Pascalu cz1
programy pascal 2
Programy w Pascalu
programowanie w pascalu cz 3
programowanie w pascalu cz 2
Język Programowania Pascal 3
programowanie w Pascalu
16-20, Ogólna struktura programu w języku Pascal, Ogólna struktura programu w języku Pascal

więcej podobnych podstron