Question: using c++ Question.1: Swapping Digits Write a program that reads a five digits integer, then swaps the unit position digit with the ten thousandth position



using c++
Question.1: Swapping Digits Write a program that reads a five digits integer, then swaps the unit position digit with the ten thousandth position digit, also swap the tenth position digit with the thousandth position digit. Print the new number. For example if the number is 37846 then the new number is 64873. Sample input/output: Enter a five digits integer: 37846 The new form of the number 37846 is 64873 Question.2: Individual's Tax The tax for an individual is calculated according to the following table: Tax Single Married money
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
