You are viewing a single comment's thread. Return to all comments →
What is wrong? Mine is in C
int secondI; float secondD; char s2[100];
scanf("%d", &secondI); scanf("%1f", &secondD); scanf("%s", s2);
printf("%d\n",i + secondI);
printf("%.1f\n", d + secondD);
printf("%s%s\n", s, s2);
Seems like cookies are disabled on this browser, please enable them to open this website
Day 1: Data Types
You are viewing a single comment's thread. Return to all comments →
What is wrong? Mine is in C
int secondI; float secondD; char s2[100];
scanf("%d", &secondI); scanf("%1f", &secondD); scanf("%s", s2);
printf("%d\n",i + secondI);
printf("%.1f\n", d + secondD);
printf("%s%s\n", s, s2);