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

Determine which integer in the solution set will make the equation true. 2s − 10 = −12 S: {−1, 0, 1, 2} −1 0 1 2
what is the rate of return when 20 shares of stock a, purchased for $15/shares, are sold for $340? the commission on the sale is $6
Which transformation would take Figure A to Figure B?
If an ice cube is melting identify the property of the substance that is change.
What was one factor that motivated European explorers during the Age of Exploration? A. They wanted to find cleaner and healthier living conditions. B. They wan
38 Points pls help Evaluate the expression (2 + 2) (3) × 5 - 3.
Which founding father, as a member of the Second Continental Congress, brought up the idea to declare independence from Great Britain in 1776?correct answer for
a radish needs 13.6 square inches of growing space if a gardener uses all of a growing area of 95.2 square inches for radishes how many did he plant
The reactions involved in producing larger compounds from smaller compounds is called.
The probability that a randomly selected 3​-year-old male chipmunk will live to be 4 years old is 0.96083. ​(a) What is the probability that two randomly select