ANSWER: Here 3 print line statements are needed. So, the best code would be
import java.util.Scanner;
public class business {
public static void main(String args[]){
Scanner stdin = new Scanner(System.in);
String Larry = stdin.nextLine();
String Curly = stdin.nextLine();
String Moe = stdin.nextLine();
System.out.println(Larry +"\t" + Curly + "\t" + Moe);
System.out.println(Larry + "\t" + Moe + "\t" + Curly);
System.out.println(Curly + "\t" + Larry + "\t" + Moe);
System.out.println(Curly + "\t" + Moe + "\t" + Larry);
System.out.println(Moe + "\t" + Larry + "\t" + Curly);
System.out.println(Moe + "\t" + Curly + "\t" + Larry);
}
}
What statement please explain correctly
There are some typos in this question as the numbers become too large and lead to undefined during calculations.
so the correct data is:
Songs = 12
Rock = 15
Blues = 20
Disco = 15
The answer & explanation for this question is given in the attachment below.
There are four types of alignment in word.
Left-aligned text
Right-aligned text
Center-aligned text
Justified text