top of page

Write C++ program to Multiply two Numbers.



#include <iostream>
using namespace std;

int main() {
  int x, y;
  int sum;
  cout<<"Multiplying Two Numbers"<<endl;
  cout << "Enter First number: ";
  cin >> x;
  cout << "Enter Second number: ";
  cin >> y;
  sum = x * y;
  cout << "Multiplication of two Numbers = : " << sum;
  return 0;
}

Output:



Read more:



Sofia Singh

The Tech Platform

0 comments

Comentários


bottom of page