preethar2402 preethar2402
  • 19-01-2021
  • Computers and Technology
contestada

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

Respuesta :

GrandNecro
GrandNecro GrandNecro
  • 19-01-2021

Answer:

unsigned birthMonth;

unsigned birthYear;

printf("Enter birth month:\t");

scanf("%u", &birthMonth);

printf("Enter birth year:\t");

scanf("%u", &birthYear);

printf("Date of Birth: %02u/%u\n", birthMonth, birthYear);

Answer Link

Otras preguntas

​ ____ is the study of the brain and the nervous system, especially in terms of brain-behavior relationships.
PLZZZZZ ANSWER THIER 10 EASY MATH QUESTIONS I DON'T KNOW HOW THIS IS 75 POINTSSSSSSS AND ILL GIVE BRAINLIEST THANKS 5 RATED STAR !!!!!!!!!!!!!!!!!!
What is 45% of 36 feet?​
What impact did the house un-american activities committee (huac) hearings have on hollywood?
Which of the following represents a positive way to handle aggressive feelings and road rage?A. Driving faster than the posted speed limit B. Being forgiving C.
The cones are similar. Find the volume of cone B. Write your answer in terms of pi.
Which of the following is true of follow-up? A. It increases cognitive dissonance in customers.B. It is typically done only once after a sale.C. Electronic appr
Why are private companies unlikely to provide public goods
6. Why did immigrants turn to political machines?
Someone help me with this pls Solve the equation of exponential decay. A website had 342,000 hits in 2011. This is a decline of 2.3% from the previous year. Ass