Geography, asked by sushma7876, 10 months ago

Write a programme in java for week of the day (nested if () statement

Answers

Answered by ps9174656
0

Explanation:

How about I first introduce a simple example to refresh your memory!

int week = 7

 

if (week<7)

{

 System.out.println

}

else

{

 System.out.println

}

int week = 7;

 

if (week < 13)

{

 System.out.println

}

else if (age < 19)

{

 System.out.print

}

else

{

 if (week < 65)

 {

   System.out.println

 }

 else

 {

 }

 System.out.println

}

Similar questions