1.

Define a class (using the Scanner class) to generate a pattern of a word in the form of a triangle inverted triangle, depending upon user's choice.Sample Input:Enter a word: CLASSEnter your choice: 1Enter your choice: 2Sample Output:CCLCLACLASCLASSSample Output:CLASSCLASCLAСLC​

Answer» ITNA LAMBA QUESTION jaisa BANANE.


Discussion

No Comment Found