English, asked by sowmyavavilapalli16, 8 months ago

Write a method Met that takes as parameter an integer.

This integer has the value of the day. Depending on this value, you have to print the day’s name. So, if the value is 1, you should print Sunday and if the value is 6 it will print Friday. If the integer is not in the correct range then it should return Invalid.

Only write the method - assume that the Class & main method have been defined.

Use the System.out.println() statement for printing.


Answers

Answered by smdmuzakkir417
1

Explanation:

hailand vending background

Answered by mangalagouri9532
0

Answer:

Hey... Use the integer argument and put in switch case... If the number matches with the case number, give the output statement accordingly... It is as simple as this...

Similar questions