Computer Science, asked by TheQueen14, 1 year ago

WRITE A PROGRAM IN C++ FOR ADDING TWO NUMBERS​

Answers

Answered by pinkykumari52
2

..C++ program to add 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;

I think this helps u

plz.. mark it as brainlist answer


muskan123419: copy of Google
ShakyaSk: copied
ShakyaSk: and seems wrong
Answered by vishakaa
1

C++ program to add 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;

Similar questions