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. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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)

19th Jul 2018, 3:23 AM
Nandhini
Nandhini - avatar
4 Answers
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"); } } }
31st Dec 2019, 8:04 PM
Singh Anuj Thakur
Singh Anuj Thakur - avatar
- 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
20th Jul 2018, 9:25 PM
Tashi N
Tashi N - avatar
- 2
where is the code of this question???
22nd Jul 2021, 9:15 AM
sumit
- 5
question unclear
19th Jul 2018, 7:56 AM
hinanawi
hinanawi - avatar