#include<stdio.h> #include<stdlib.h> #include<stdbool.h> int main(){ int x=0; double y=0; char c=0; char name[50]; scanf("%lf",&y); scanf(" %c",&c); scanf("%s",name); printf("y=%lf\nc=%c\n",y,c); printf("name = %s",name); return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter