ប្រតិបត្តិ៖ ការបូកពីរចំនួន

ការបូកពីរចំនួន

Sum of two numbers

 
//sum of two numbers
#include<iostream>
using namespace std;
int main()
{
int a, b, c;
cout << "Enter two integers to add\n";
cin >> a >> b;
c = a + b;
cout <<"Sum of the numbers: " << c << endl;
return 0;
}


លទ្ធផល:

Enter two integers to add
8
7
Sum of the numbers:15

Comments

Popular posts from this blog

ភាសាកម្មវិធី C++៖ អថេរ ឬអញ្ញាតិ

How to download and install Cambridge Advanced Learner's Dictionary_Fourth Edition-CALD4