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

marci’s company purchased some debt securities. the company plans to hold on to the securities until they mature, rather than selling them off to make a profit
What are all syptoms of covid i think i have it.......
help meeeeeeeeeeeeeeeeeeeeeee thank you
How much force in Newtons is required to accelerate a 5 kg bowling ball at 2 m/s²? (1 point) O 2.5 N O 10 N O 3 N 07N E​
Assuming 100% dissociation, calculate the freezing point ( f ) and boiling point ( b ) of 3.22 Na2SO4(aq) .
Why did the United States declare war against Britain in 1812? A.The British stopped American merchant ships and impressed sailors B. The British attacked the U
The weight of 8 eggs is 496 grams. Identify the constant of proportionality of total weight to number of eggs. Group of answer choices 60 56 62 58
Find the length of the diameter of the circle with the following equation: (x-4)^2+(y-2)^2=5
7 1/4 dividend by 1 2/3
What type of figurative language is used in the book part of your world by Liz Braswell?