//program to take an imput from user and print a greeting message #include <stdio.h> int main() { char name[10]; printf("enter your name"); /* input from user */ scanf("%s",&name); printf("how are u %s",name); }
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