#include <iostream.h>
#include <conio.h>
main()
{
int a,b,c;
cout<<"masukan nilai a :";
cin>>a;
cout<<"masukan nilai b :";
cin>>b;
c=a+b;
cout<<"hasil a+b adalah:"<<c;
getch();
}
hasilnya :
sederhana sekali kan...
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment