|
more than 450 programs for free
|
![]() English |
![]() Slovensky |
![]() Česky |
![]() Šarišsky |
|
Category: Homework in Pascal Program: Sucet.pas File exe: Sucet.exe Makes the addition of two numbers.
Views: 805x
{ SUCET.PAS Copyright (c) TrSek alias Zdeno Sekerak } { Vypocita sucet dvoch cisel } { Vstup : cislo a,b } { Vystup: sucet cisel a, b } { } { Datum:10.04.2000 http://www.trsek.com } program so (input,output); var a,b:real; s:real; begin writeln('zadaj cisla:'); readln(a,b); s:=a+b; writeln(s:4:3); readln; end. [Run] [Save] [Print] [Send e-mail] |
|