- 16
Write the java code for this question?input:"Today is a Nice Day".output:Cein doT day.conditions:Don't use more than one string.
class:public class UserMainCode(string input1,int input2)
4 odpowiedzi
0
class HappyNewYear
{
public static void main(String s[])
{
int code = 3;
switch(code)
{
case 1:
System.out.println("Wish");
case 2:
System.out.println("You");
default:
System.out.println("A");
case 3:
System.out.println("Happy");
case 4:
System.out.println("New");
case 5:
System.out.println("Year");
}
}
}
- 2
Please elaborate on your question to receive useful answers, show your attempts to the assignment and explain the problem if you're stuck.
https://www.sololearn.com/discuss/333866/?ref=app
- 2
where is the code of this question???
- 5
question unclear