Answer the question
In order to leave comments, you need to log in
How can I display the name of the day of the week instead of the day of the week in the outer loop?
Available code:
for(int weekDay = 1; weekDay <= 7; weekDay++) {
System.out.print("День недели: "+weekDay+" Часы: ");
for(int dayHour = 1; dayHour <= 24; dayHour++) {
System.out.print(dayHour+"");
}
System.out.print("\n");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question