Penjumlahan c++ Sederhana
#include "iostream.h"
#include "conio.h"
int main ()
{
int no1, no2, sum ;
cout <<"\nEnter the first number = " ;
cin >>no1 ;
cout <<"\nEnter the second number = " ;
cin >>no2 ;
sum = no1 + no2 ;
cout << "\nThe sum of "<< no1<<" and "<<no2 <<" = "<<sum<<"\n" ;
getch();
}

Komentar