hillqryc
hillqryc hillqryc
  • 09-06-2020
  • Computers and Technology
contestada

Write a Java program that prints out a 4x4 square (like the one below)




Write a Java program that prints out a 4x4 square like the one below class=

Respuesta :

WilliamFancyson
WilliamFancyson WilliamFancyson
  • 09-06-2020

public class 4by4Square

{

    public static void main(){

       System.out.println("xxxx \nx  x\nx  x\nxxxx");

    }

}

~CaptnCoderYankee

Answer Link

Otras preguntas

how do flukes breathe? (respiration)
Which mixture will not yield hydrogen gas? (A) sodium and water (B) calcium and water (C) zinc and hydrochloric acid (D) zinc and concentrated nitric acid
Simplify and identify and x-values for which the expression is undefined. 4x-8 divided by x^2-2x
Select the difference of (8x2 - 3x3) - (4x2 - 7x3).
If sin θ = 0.57 then sin (π-θ)=?
Sediment is deposited as a river enters a lake because the(1) velocity of the river decreases(2) force of gravity decreases(3) volume of water increases(4) slop
When lithium reacts with bromine to form the compound LiBr, each lithium atom:(1) gains one electron and becomes a negativelycharged ion(2) gains three electron
A sample of chlorine gas is at 300. K and 1.00 atmosphere. At which temperature and pressure would the sample behave more like an ideal gas?(1) 0 K and 1.00 atm
Which of the following is correct concerning the Km of an enzyme? (A) It depends on the dissociation constant for the product of the reaction. (B) It defines
Simplify and identify and x-values for which the expression is undefined. 4x-8 divided by x^2-2x