Question: Find and correct the program below, check your answer by running the script 1. 2. #include int main() 3. { 4. float Number1; 5.

Find and correct the program below, check your answer by running the script 1. 2. #include int main() 3. { 4. float Number1; 5. double Number2; 6. 7. 8. printf("Enter a number: "); scanf("%f",&num1) 9. printf("Enter another number: 10. scanf("%lf", &num2); 11. 12. 13. printf("num1 = %f " num1); printf("num2 %1f", num2); 14. 15. return 0; 16.
Step by Step Solution
There are 3 Steps involved in it
Here is the corrected code include stdio h int main float Number1 double Number2 printfEnter a numbe... View full answer
Get step-by-step solutions from verified subject matter experts
