- 7 8 Scanf C A Scanf C B Scanf C C 15 16 17 Printf Cxcxc A B C Printf Cxc C A C B Pri 1 (28.17 KiB) Viewed 46 times
7 8 scanf("%c", &a); scanf("%c", &b); scanf("%c", &c); 15 16 17 printf("%cXcXc",a, b, c); printf("%cxc%c", a, c, b); pri
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
7 8 scanf("%c", &a); scanf("%c", &b); scanf("%c", &c); 15 16 17 printf("%cXcXc",a, b, c); printf("%cxc%c", a, c, b); pri
7 8 scanf("%c", &a); scanf("%c", &b); scanf("%c", &c); 15 16 17 printf("%cXcXc",a, b, c); printf("%cxc%c", a, c, b); printf("%c%c%c", b, a, c); printf("%cxcc ", b, c, a); printf("%c%c%c c, a, b); printf("%c%c%c ", c, b, a); 18 19 20 21 22 22 neintf("\n") Run X Not all tests passed X Testing with x, y, z Output is nearly correct, but whitespace differs. See highlights below. Special character legend Your output Xe tây y, yzx xy zyx 9 18 11 12 13 14 1322