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

Which of the following is an objection to relying solely on Return on Market Investment (ROMI) results? (1 point) • ROMI requires knowing what would have happ
Add: (4 − 3n − 5n2) + (−2 + n − 3n2) (Points : 1) −2 − 4n − 8n2 2 − 2n − 8n2 2 − 4n − 8n2 −2 − 2n − 8n2
What is active reading
A potassium isotope has a half-life of 1.25 billion years. Given that scientists estimate Earth's age to be 4.6 billion years, what is the most likely percentag
A(n) __________________ narrator does not make judgments on the story or offer their opinions.
There are different methods to respond to acute sports injuries depending upon whether the player is conscious or not.
After months of rain, the sky felt blue and clear like the ocean. The girls were laughing and playing on the velvety grass. They walked with cotton steps on
17.what is appositive phrase in the sentence Martha ,my best friend ,is coming vaction with me. brainly
The combustion of 14 grams of co according to the reaction co(g) ½o2(g) co2(g) 67.6 kcal gives off how much heat?
which definition best describes this group of words? bright, shiny, airy