Drag And Drop the text to get correct algorithm for the below Scenario
Ninu wants to teach her 5 years old daughter about the seasons and the months. If Ninu tells the name of the month her daughter has to tell the respective season for the month
Hint
Summer March April May
Winter-December January February
Autumn - September October November
Spring - June July August
Algorithm for the Scenerio
Start
Enter the
to be checked
the
is March or April or May then
"Summer
the
is December or January or February
"Winter
how will write the program according to this type question in c language
Answers
Start
Enter the
name of the month
to be checked
If
the
name of the month
is March or April or May then
“Summer”
else if
the
name of the month
is December or January or February
“Winter”
else if
the
name of the month
is September or October or November
“Autumn”
Else
“Spring”
end
Algorithm for season name for a given month
Step-by-step explanation:
START
Enter Month name
Check if Month is March April May
Output is Summer
END
Else if Month is June July August
Output is Spring
END
Else if Month is September October November
output is Autumn
END
Else
output is winter
END
Learn More:
Draw a flow chart and write an algorithm for a program that adds all ...
brainly.in/question/12819501
Use division algorithm to show that the square of any positive ...
brainly.in/question/3486328