Computer Science, asked by divyanshsharma1505, 9 months ago

Write a program to input a sentence and print it in the following order: Input: Happy New Year Output: Year New Happy plz i need it fast do it using the logic of class 10

Answers

Answered by shubhangisax8081
1

Answer:

class Name

{

public static void main( String args[])

{

if(int i = 1 ; i<=10 ; i++)

System.out.println("Happy New Year");

}

}

hope it helps...pls mark my answer as brainliest...

Similar questions