#include <stdio.h> int main(void) { int i_v = 0; char c_v = 0; float f_v = 0; printf("Input a char number:"); scanf("%c", &c_v); printf("Input an int number:"); scanf("%d", &i_v); printf("Input a float number:"); scanf("%f", &f_v); printf("c_v = [%c]\n", c_v); printf("i_v = [%d]\n", i_v); printf("d_v = [%f]\n", f_v); return 0; }
by: 发表于:2017-08-15 10:51:25 顶(0) | 踩(0) 回复
??
回复评论