#include int main() { char ch ; printf( "Enter a character:" ) ; ch = getchar() ; printf ( "%c\n" , ch ) ; printf( "A literal string.\n" ) ; printf( "Using format specifiers. %d %d\n" , 5, 10 ) ; //ch = getchar() ; int x1 ; printf ( "Enter a number:" ) ; scanf( "%d" , &x1) ; printf( "x1 is %d\n" , x1 ) ; //Input buffer has the end of line character in it //creating a problem. int x2 ; printf( "x1 is %d\n" , x2 ) ; printf ( "Enter a number -number-:" ) ; scanf( "-%d-" , &x2) ; printf( "x1 is %d\n" , x2 ) ; return ( 1) ; }