
18-05-2007, 17:42
|
|
|
|
חבר מתאריך: 10.05.07
הודעות: 4
|
|
קוד:
#include <conio.h>
#include <stdio.h>
(public static void main (String[ ]
args )
//The Programs made by DEMSK151 .
//The program print TIME avg,before u
type ur TIME,u need to type the number
of ur PLM,PSI,nefhe
void main (){
int
a,c,d=0,psi,lpm,nef;
clrscr();
printf("type the
psi");
for(c=1;c=1;c++){
scanf("%d",&psi);
printf("type the lpm");
scanf("%d",&lpm);
d=lpm*psi;
printf("type the nef");
scanf("%d",&nef);
}
a=d/(nef*15);
printf("ur time is
",a);
getch();}
האם זה מספיק טוב ???
|