Monday, March 21, 2016

TUGAS 2.1

include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;

int main(int argc, char** argv) {
int a,b,c,jumlah;

cout<<"A =";
cin>>a;
cout<<"B =";
cin>>b;
cout<<"C =";
cin>>c;

cout<<"JUMLAH = ";
cout<<a+b+c;

return 0;
}


No comments:

Post a Comment

mencari huruf pada kalimat

#include <iostream> using namespace std; int main() {   int a,x;   int y=0,b=0,MAKS = 256;   char kata[MAKS],huruf[M...