TURBO C | CONTOH PROGRAM ARITMATIKA

By sulthan on Saturday, July 29, 2017

Contoh
Diketahui = A,B
Dit = Operator Aritmatika
 PROGRAM.
#include<stdio.h>
Main()
{
Int a, b;
Float hasil;
Clrscr();
Printf(“Masukkan Nilai A : “); scanf(“%d”,&a);
Printf(“Masukkan Nilai B : “); scanf(“%d”,&b);
Hasil = a +b; printf(“Penambahan : %.2f\n”,hasil);
Hasil = a /b; printf(“Pembagian : %.2f\n”,hasil);
Hasil = a -b; printf(“pengurangan : %.2f\n”,hasil);
Hasil = a %b; printf(“Modulus : %.2f\n”,hasil);
Printf(“Hasil adalah : %.2f\n”,hasil);
Getch();

}

ALGORITMA


&quot;what is internet in hindi&quot; || internet kya hai (in hindi)

What is internet in hindi ||history of internet in hindi "What is internet in hindi", today we all are trying to know about what i...