Pages

Diberdayakan oleh Blogger.

Minggu, 09 Desember 2012

Program Menghitung Jarak Tempuh

#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr();
int s,v,t;
printf("MENGHITUNG JARAK TEMPUH.\n");
 printf("-------------------------\n");
printf("Masukkan kecepatan (v) : ");scanf("%i",&v);
printf("Masukkan waktu dalam sekon (t) : ");scanf("%i",&t);
s=v*t;
printf("S = %i * %i = %i Meter",v,t,s);
getch();
}


Nanti hasilnya seperti ini :

1 komentar:

  1. Merkur Futur Adjustable Safety Razor - Sears
    Merkur Futur Adjustable Safety Razor is the perfect balance ford escape titanium of performance, safety, septcasino.com and worrione comfort. gri-go.com Made in Solingen, Germany, https://septcasino.com/review/merit-casino/ this razor has a perfect balance of

    BalasHapus