Write a C program (see below) and save it in a file called functions3.c in your ./CMSC104/cw2 directory
Compile the program:
gcc -o functions3 functions3.c
Run the program to make sure it works:
./functions3
Use the SUBMIT utility to turn in the homework.
submit cs104_grasso cw02 functions3.c functions3
Do the following:
Copy your celsius.c code from the cw1 directory to your cw2 directory
Rename the source file to functions3.c
Modify the code to do the following:
Instead of passing back a float from the conversion function, pass a variable in by reference that will be assigned the converted value
Make sure you have a float variable for the converted value defined in main()
Pass the address of that variable to the function
Modify the function definition and prototype to accept the new reference parameter
Assign the converted value to the reference parameter in the function
From main(), display the converted value.