Computer Science, asked by Arman1225, 1 year ago

write a program to print the schedule of 1st June 2019. Must be covered by getup time breakfast lunch dinner study time and go to the bed​

Answers

Answered by rakeshchennupati143
1

Answer:

i=1

day = ["saturday","sunday","monday","tuesday","wednesday","thursday","friday"]

while i < 31:

if i == 2 or i == 9 or i == 16 or i == 23 or i == 30:

          print(i)

          print(day[1])

          print("Get up Time : 10:00am")

          print("Breakfast Time : 10:30am")

          print("Lunch Time : 12:30pm")

          print("Study Time : 5:00pm")

          print("Dinner Time : 9:00pm")

          print("Bed Time : 10:00pm")

else:

         print(i)

         if i == 1 or i == 8 or i == 15 or i == 22 or i == 29:  

          print(day[0])

         elif i == 7 or i == 14 or i == 21 or i == 28:  

          print(day[6])

         elif i == 6 or i == 13 or i == 20 or i == 27:  

          print(day[5])

         elif i == 5 or i == 12 or i == 19 or i == 26:  

          print(day[4])

         elif i == 4 or i == 11 or i == 18 or i == 25:  

          print(day[3])

         elif i == 3 or i == 10 or i == 17 or i == 24:  

          print(day[2])

         print("Get up Time : 8:00am")

         print("Breakfast Time : 9:00am")

         print("Lunch Time : 12:00pm")

         print("Study Time : 4:00pm")

         print("Dinner Time : 8:00pm")

         print("Bed Time : 9:00pm")

      i = i + 1

NOTE: you did not mentioned in which language i have to write so i wrote it in python and u did not mention any timings so i assumed my own.


rakeshchennupati143: but you want an ans in english then you have to ask in english section
rakeshchennupati143: this is the code for what ever you asked in the question
Arman1225: nahi bata toh mat bata o
Arman1225: aapni yeh toppering hume mat dekha o
rakeshchennupati143: first i dont understand hindi talk in english
Arman1225: o really
Arman1225: are u from Australia or America
rakeshchennupati143: dude i'm from india
rakeshchennupati143: but i don't understand in because i'm from south
Arman1225: o sorry
Similar questions