没有区分字符和字符串
#include<stdio.h> int main() { char N; double a,b,X; scanf("%10s",&N); scanf("%lf",&a); scanf("%lf",&b); X=a+b*0.15; printf("TOTAL = R$ %.2lf\n",X); return 0; }