#include<stdio.h>
main()
{
printf("===========================\n");
printf("=PROGRAM KALKULATOR ALFIAN=\n");
printf("===========================\n");
int x,y;
printf("input number 1=");
scanf("%i",&x);
printf("input number 1=");
scanf("%i",&y);
printf("resultpenjumlahan= %i\n",x+y);
printf("result pengurangan= %i\n",x-y);
printf("result perkalian= %i\n",x*y);
printf("result bagi= %i\n",x/y);
printf("resultmodulus= %i\n",x%y);
}
Tidak ada komentar:
Posting Komentar