Computer C++

Computer C++

Write a program that implement the following algorithm: 1. Gets a number into variable A. 2. Gets a number into variable B. 3. If A is different then B: num1 <- A * 10 + B num2 <- B * 10 + A Show as an output the value of num1 and num2. Show as an output the sum of num1 and num2. Otherwise: num1 <- A * 10 + B. Show as an output the value of num1. Show as an output the message :”equals”.

"Is this question part of your assignment? We can help"

ORDER NOW