Question: Part II Variables and Assignment 2. 15 Marks Digits: Write a program that reads a four-digit number, exchange the unit and the hundred digits, exchange
Part II Variables and Assignment 2. 15 Marks Digits: Write a program that reads a four-digit number, exchange the unit and the hundred digits, exchange the ten and the thousand digits, and then prints the new number. Sample input/output: nter a number: 2750 e one number is: 5027
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
