Answer to Question #144955 in C++ for shery

Question #144955

 Write a C++ program to replace the first digit with the last digit of a 5 digit number , 2nd digit with the 4th digit of a 5 digit number and then store the new number in y and tell if the original number and the new numbers are same or not. (Assume there are no 0 in the number)

Expected Output:

Sample1:

Input 5 digit number: 23156

Original Number: 23156

New Number, y: 65132

Original Number and the New Number Doesn’t match.


1
Expert's answer
2020-11-17T09:19:58-0500
Dear shery, 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