Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void main()
- {
- int a = 5;
- char ch = 'A';
- float f = 5.5f;
- printf("%d %c %f\n", a, ch, f);
- /*
- scanf("%d", &a);
- scanf(" %c", &ch);
- scanf("%f", &f);
- */
- scanf("%d %c %f", &a, &ch, &f);
- printf("%d %c %f", a, ch, f);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement