1/**
2* USING scanf() AND printf()
3* scanf(): used to take formated input from stdin
4* printf(): used to display fromated outputt to stdout
5*/
6
7#include <stdio.h>
8int main( ) {
9
10 char str[100];
11 int i;
12
13 printf( "Enter a value :");
14 scanf("%s", str);
15
16 printf( "\nYou entered: %s %d ", str);
17
18 return 0;
19}