求下列程序,为保证程序正确执行,在程序的下划线处填入适当内容。谢那!!
#include<stdio.h>void main(void)
{
unsigned char uc;
short h;
unsigned long ul;
float f;
double d;
printf(”input a character:”);
scanf(”(1)___________”, &uc);
printf(”(2)__________”, uc >= ’a’&& uc <=’z’? uc -’a’+’A’: ’?’);
printf(”(3)__________”, 3.14 * uc * uc);
printf(”(4)__________”, (ul = uc, ul + 1));
printf(”(5)__________”, h = uc + 1);
printf(”(6)__________”, uc % 2L);
printf(”Input a float: ”);
scanf(”(7)___________”, &f);
printf(”(8)__________”, f );
printf(”(9)__________”, (long double)f);
printf(”Input a double: ”);
scanf(”(10)___________”, &d);
}