Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write two scanf statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a slash, and the year.

Write two scanf statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a slash, and the year. End with newline.
Ex: If the input is 12000, the output is:
12000
Note: Our autograder automatically runs your program several times, trying different input values each time to ensure your program works for any values. This program is tested twice, first with the inputs 1 and 2000, and then with the inputs 5 and 1950.
image text in transcribed

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

List the six factors affecting stock option prices.

Answered: 1 week ago

Question

5.4 Identify external recruitment sources.

Answered: 1 week ago

Question

=+j on to staff their operations in the global marketplace.

Answered: 1 week ago