Write an algorithm to multiply two numbers
Answers
Answered by
16
step 1. initialise 2 int no, a and b
step 2. intialise a 3rd no c to store the result
step 3. take input for the 2 nos.
step 4. c=a*b
step 5 print the result
step 2. intialise a 3rd no c to store the result
step 3. take input for the 2 nos.
step 4. c=a*b
step 5 print the result
Answered by
3
Answer:
# include ( iostream.h )
Void main ( )
(
int a,b,
cout (("enter a and b:"(( endl ;
cin )) a )) b ;
m= a*b ;
Cout (( "m ="m ="(( m";
return 1;
)
Explanation:
It might help you
Similar questions