Question: Problem Swap two numbers There are two numbers waiting for swap. Prepare two variables to store them respectively and then swap the two values between
Problem Swap two numbers There are two numbers waiting for swap. Prepare two variables to store them respectively and then swap the two values between these two variables before your output. Name your program file Hw1_q2_code.c. Example inputs and outputs format: (italic texts are what the program should print on the screen, the bold texts are what the user types in) Enter a and b: 3.5 9.2 Example outputs: Before swap: a=3.5, b=9.2 After swap: a=9.2, b=3.5
I'm really new to coding (I apologize), and we are supposed to be using C to write this in Notepad++. How do I do/start this question?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
