Question: WS 2 . 1 . Area Conversion Suppose that in an APSC 1 6 0 lab, students were asked to write a program that prompts

WS2.1. Area Conversion
Suppose that in an APSC 160 lab, students were asked to write a program that prompts the user for the area of a plot of land in acres, and prints the area of the same plot of land in square metres. Assume that 1 acre is equivalent to 4046.85642 square metres.
One student, Pat, submitted the following code. The program compiles and runs, but it does not produce the right output. What would you do to fix it?
area.c
1**
Author: Pat Gear
Student #: 12345678
Lab section: L1B
Date: January 12,2008
Purpose: print the area of the plot of land in square metres
*/
#include ?4046.85642=;?
 WS2.1. Area Conversion Suppose that in an APSC 160 lab, students

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!