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


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

1 Expert Approved Answer
Step: 1 Unlock

Here is the corrected code include stdio h int main float Number1 double Number2 printfEnter a numbe... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!