.• 2. In order to paint a wall that has a number of windows, we want to know its area. Each the prompts window has a size of 2 ft by 3 ft. Write a program that reads the width and height of the wall...


The question is attached to the image. Please help!


.• 2. In order to paint a wall that has a number of windows, we want to know its area. Each<br>the prompts<br>window has a size of 2 ft by 3 ft. Write a program that reads the width and height of the wall and the number of windows, using<br>Wall width:<br>Wall height:<br>Number of windows:<br>Then print the area.<br>WallArea.java<br>1 import java.util.Scanner;<br>2<br>3 public class WallArea<br>4 {<br>public static<br>void main(String[] args)<br>= new Scanner (System.in);|<br>5<br>Scanner in<br>System.out.print (

Extracted text: .• 2. In order to paint a wall that has a number of windows, we want to know its area. Each the prompts window has a size of 2 ft by 3 ft. Write a program that reads the width and height of the wall and the number of windows, using Wall width: Wall height: Number of windows: Then print the area. WallArea.java 1 import java.util.Scanner; 2 3 public class WallArea 4 { public static void main(String[] args) = new Scanner (System.in);| 5 Scanner in System.out.print ("Wall width: "); int width = in.nextInt(); System.out.print("Wall height: "); int height = in.nextInt(); System.out.print("Number of windows: "); int window = in.nextInt(); int area = width * height; 10 11 12 13 14 15 16 17 18 19 20 System.out.println("Area: " + area); CodeCheck Reset

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here