Answer to Question #154003 in C++ for Usama Saleem

Question #154003

Write a program which takes two integers (num1 and num2) as input from the user.


Your program should display on the screen the result of i) num1 + num2, ii) num1 * num2, and iii) num1 - num2.


You are not allowed to use the + or - or * operators. E.g., cout<<num1+num1<<num1*num2<<num1-num2; is not allowed. += or -= or *= operators are also not allowed.


You HAVE TO USE loops and the ++ and -- operators. Code for num1+num2 is already available in the slides. Use that for this assignment.



1
Expert's answer
2021-01-05T14:41:37-0500
Dear Usama Saleem, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog