Question: Exercise 1.15. Find errors in the coding of formulas Some versions of our program for calculating the formula (1.2) are listed below. Determine which versions

Exercise 1.15. Find errors in the coding of formulas Some versions of our program for calculating the formula (1.2) are listed below. Determine which versions that will not work correctly and explain why in each case F = 9/54C + 32; print F print F print F C= 21.0; F= (9/5)*C + 32; C = 21.0, F = 94C/5 + 32 ; C 21.0; F-9. (C/5.0)32; print F C- 21.0; F- 9.04C/5.0 + 32; print F C 2 F9*C/5 32; C = 21.0, F = (1/5) *94C + 32 ; print F print F F-(1./5) 9-C 32; print F Exercise 1.16. Ezplain why a program does not work. Find out why the following program does not work: C=A+B print C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
