Using the knowledge in computational language in JAVA it is possible to write a code that write a program that reads the width and height of the wall and the number of windows, using the following prompts
<h3>Writting the code:</h3>
<em>import java.util.Scanner;</em>
<em>public class WallArea {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner sc = new Scanner(System.in);</em>
<em> final int areaOfWindows = 6;</em>
<em> System.out.print("Wall width: ");</em>
<em> double width = sc.nextDouble();</em>
<em> System.out.print("Wall height: ");</em>
<em> double height = sc.nextDouble();</em>
<em> System.out.print("Number of windows: ");</em>
<em> double numberOfWindows = sc.nextDouble();</em>
<em> double area = (width * height) - (numberOfWindows * areaOfWindows);</em>
<em> System.out.println("Area: " + area);</em>
<em> }</em>
<em>}</em>
See more about JAVA at brainly.com/question/12975450
#SPJ1