#include <stdio.h>
using namespace std;
int main(){
int a, b, c;
printf("================================================\n");
printf("==== Program Penambahan dan Pengurangan (C) ====\n");
printf("Nama = Cindy Kecil\n");
printf("NIM = 200702073\n\n");
printf("Menghitung Penambahan dan Pengurangan\n");
printf("Nilai a : ");
scanf("%d", &a);
printf("Nilai b : ");
scanf("%d", &b);
printf("Nilai c : ");
scanf("%d", &c);
printf("Maka hasil penambahan dan pengurangan a+b-c adalah = %d", a+b-c);
return 0;
}
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include <stdio.h>
using namespace std;
int main(){
int a, b, c;
printf("================================================\n");
printf("==== Program Penambahan dan Pengurangan (C) ====\n");
printf("================================================\n");
printf("Nama = Cindy Kecil\n");
printf("NIM = 200702073\n\n");
printf("Menghitung Penambahan dan Pengurangan\n");
printf("Nilai a : ");
scanf("%d", &a);
printf("Nilai b : ");
scanf("%d", &b);
printf("Nilai c : ");
scanf("%d", &c);
printf("Maka hasil penambahan dan pengurangan a+b-c adalah = %d", a+b-c);
return 0;
}