C++ Program to Multiply two numbers without using (*) Multiplication Operator

Leave a Comment
Write a  C++ Program to multiply two numbers without using (*) multiplication operator. In this program, We are going to write a code which takes two input numbers and multiply them without using multiplication operator.

Program to subtract two numbers without using subtraction operator

Add two numbers without using addition operator

C++ Program to multiply two numbers without using (*) multiplication operator

#include <iostream>

using namespace std;

int main() {

   int fnum, snum, mult=0,i;

   /* Input two numbers from a user. */
   cout << "Enter two numbers";
   cin >> fnum >> snum;
   /* Add the number using loop. */

   for(i=0; i < fnum; i++){
      mult = mult + snum;
    cout << "Multiplication of two numbers is "<<mult;
 return 0;


 Enter two numbers : 4

Multiplication of two numbers is 12
If You Enjoyed This, Take 5 Seconds To Share It


Post a Comment