Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Write a program to define two integer variables, two double precision variables and two character variables, and use the scanf function to implement
Write a program to define two integer variables, two double precision variables and two character variables, and use the scanf function to implement

#include?

int?main()

{

int?a,b;

p>

double?c,d;

char?e,f;

scanf("%d%d%lf%lf%c%c",&a, &b,&c,&d,&e,&f);//Input sample: 1?2?3.4?5.6AB

printf("%d?%d?%.2lf?%.2lf?% d?%d\n",a,b,c,d,e,f);

return?0;

}