Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

THIS PROGRAM IS TO BE DONE IN C++ Problem 4 (5 points) Write a program that prompts the user for two integer numbers. The first

image text in transcribed

THIS PROGRAM IS TO BE DONE IN C++

Problem 4 (5 points) Write a program that prompts the user for two integer numbers. The first integer represents the month of a year, and the second integer represents the day of the month. So, the two numbers entered represent a date in the year. Using this date your program should output what season it is. If the date falls between 12/20 and 3/19, your program should output Winter. If the date falls between 6/20 and 9/19 your program should output Summer, 3/20 to 6/19 would be Spring, and 9/20 and 12/19 would be Fall. The output will look like this: Enter an integer for the month : Enter an integer for the day : 29 6/29 is in the season of Summer

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions