 |
|  |
 |
|  |
 |
|
The Slayer
|
 |
Archmage of Dalaran, Leader of Lordaeron.
Jun 2003 time: 00:36
|
|
Eso, si lo tubiera de tarea de programacion 1 seria 
code:
Program Olimpiadas;
{$apptype console}
Const
oro=4;
pla=2;
bro=1;
Var
Noro, NPlata, NBronce, POro, PPlata, PBronce, PTotal : Integer;
Begin
Write('Ingrese la cantidad de Medallas de Oro : '); Readln(NOro);
Write('Ingrese la cantidad de Medallas de Plata : '); Readln(NPlata);
Write('Ingrese la cantidad de Medallas de Bronce : '); Readln(NBronce);
POro:=NOro*oro;
PPlata:=NPlata*pla;
PBronce:=NBronce*bro;
PTotal:=POro+PPlata+PBronce;
Write('La cantidad total de puntos de este pais es : ',PTotal:10:2);
Readln;
End.
Si si, ya se ya se, pero necesitaba la practica
Last edited by The Slayer on 30-08-2004 at 06:39
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:36. Apolyton Time is 00:36. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|