Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
InfoPedia Forum Index » Pascal

Post new topic   Reply to topic
Cod - Program de calculat unghiuri
View previous topic :: View next topic  
Author Message
InfoPedia
Fondator
Fondator


Joined: 02 Feb 2008
Posts: 6

PostPosted: 03/02/2008 15:10    Post subject: Cod - Program de calculat unghiuri Reply with quote

Acesta este un program simplu care calculeaza unghiuri

Code:
 program unghiuri;
var a, b, c: integer;
begin
writeln('Program de calculat unghiuri by Alex a.k.a. Astaroth of MuZone.load4.net');
writeln('Introduceti masura primului unghi=');
readln(a); {prima variabila isi primeste valoarea}
writeln('Introduceti masura celui de al doilea unghi=');
readln(b); {a 2-a variabila isi primeste valoarea}
c:=180-a-b; {a 3-a variabila isi primeste valoarea}
writeln('Masura unghiului cerut este=',c);
readln;
end.


Copyright © Astaroth si http://forum.evomedia.org
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    InfoPedia Forum Index » Pascal All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional

Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro