Question: Algorithm and c++ code Exercise#1: Reverse a Number Write the algorithm and then the C++ program that will input a 3-digit number and then display
Algorithm and c++ code Exercise#1: Reverse a Number Write the algorithm and then the C++ program that will input a 3-digit number and then display the 3-digit number in reverse order Sample input/output: dgorithm 7 0 Please enter a 3-digit number: 3451 The reverse number is: 543 input a @ process, d,, (0/100)%10, d. 19%)%10 dz. 0%lo reld + 100)+(216) output, print reverse +d, Exercise#2: Number of Bottles a filline one bottle with petrol is 1.7 and the selling price of one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
