Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that prompts the user to enter three numbersand then prints them

ID: 3609549 • Letter: W

Question

Write a program that prompts the user to enter three numbersand then prints them vertically (each on one line), first forwardand then reversed (the last one first), as shown in the followingdesign.           Please enter three numbers: 15 35 72           Your numbers forward:                 15                 35                 72            Your numbers reversed:                  72                  35                  15 Write a program that prompts the user to enter three numbersand then prints them vertically (each on one line), first forwardand then reversed (the last one first), as shown in the followingdesign.           Please enter three numbers: 15 35 72           Your numbers forward:                 15                 35                 72            Your numbers reversed:                  72                  35                  15

Explanation / Answer

please rate - thanks #include #include int main() {int n1,n2,n3; printf("Please enter three numbers: "); scanf("%d %d %d",&n1,&n2,&n3); printf("Your numbers forward: %5d %5d %5d ",n1,n2,n3); printf("Your numbers reversed: %5d %5d %5d ",n3,n2,n1); getch(); return 0; }
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote