1. Engineering
  2. Computer Science
  3. the marie program will be prompted to enter the length...

Question: the marie program will be prompted to enter the length...

Question details

The MARIE program will be prompted to enter the length and width as decimal values; once these values have been read by the program, the area of the rectangle must be calculated and output. The program must then prompt for an area as a decimal value. Once input, the program will calculate and output how many times bigger the given area is than the area of the given rectangle. The program must then properly terminate. For example, if the input is 4 (Length) 5 (Width) 100 (Area) Your program should print 20
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution