Write a C program to multiply two numbers using plus operator. Here’s simple program to multiply two numbers using plus operator in C Programming Language.
Given two numbers as input from user, we have to multiply them without using arithmetic operators like * and +. In this program we will multiply two numbers by repetitive addition. In other words, A X B is same as A + A + A… (B times).
For Example : :
5 X 4 = 5 + 5 + 5 + 5 = 20
Below is the source code for C program to multiply two numbers using plus operator which is successfully compiled and run on Windows System to produce desired output as shown below :
SOURCE CODE : :
OUTPUT : :
Above is the source code for C program to multiply two numbers using plus operator which is successfully compiled and run on Windows System.The Output of the program is shown above .
need an explanation for this answer? contact us directly to get an explanation for this answer