Rearrange the following lines to produce a program that prints an image of a truck facing left.
System.out.println("+~: | |");
System.out.println(" o oo oo ");
public class Truck
System.out.println( " /-+--------------+");
System.out.println("+---+--------------+");
public static void main(String[] args)
{
{
}
}
public class Truck { public static void main(String[] args) { System.out.println(" /-+--------------+"); System.out.println("+~: | |"); System.out.println("+---+--------------+"); System.out.println(" o oo oo "); } }
Get Answers For Free
Most questions answered within 1 hours.