Write a program to Multiply two numbers in C++ Language - Program to Multiply two numbers in C++

Program to Multiply Two Numbers in C++ Language

#include <iostream>

using namespace std;

int main() {

  int n1, n2, m;

  cout << endl << "Enter First number = ";

  cin >> n1;

  cout << endl << "Enter Second number =  ";

  cin >> n2;

  m = n1 * n2;

  cout << endl << "Your answer is = " << m << endl;

  return 0;

}

इस कोड को हमने CODEBLOCK पर बना कर run किया है



OUTPUT


Comments