Write this code shown here as pseudocode in Java Make sure y
Write this code, shown here as pseudocode, in Java. Make sure you have no errors of syntax or logic. Save and run it to make sure. myName = \"Sue Smith//Use your real full name here print \"Hello! My name is \" myName, \" Nice to meet your print (3 empty lines) print \"Go Scarlet Knights!\" Write this (hopefully familiar) code, shown here as pseudocode, in Java. Make sure you have no errors of syntax or logic. Save and run it to make sure. a = 0 while (a
Solution
1)
class PrintCheck{
public static void main(String args[])
{
String s = null;
Scanner s = new Scanner(Systm.in);
s= nextLine();
System.out.println(\"Hello! My name is \",s,\".Nice to meet you!\");
System.out.println(\"\");
System.out.println(\"\");
System.out.println(\"\");
System.out.println(\"Go Scarlet Knights!\");
}
}
2)
class Multiply{
public static void main(String args[])
{
int a= 0;
while(a<=12)
{
System.out.println(a+\"...\"+(a*a));
a= a+1;
}
System.out.println(\"All done!\");
}
}
