C program for formatted input/output function printf() and scanf()


// C program for formatted input/output function printf() and scanf():-



#include<stdio.h>
#include<conio.h>
void main()
{
   int a;
   clrscr();
   printf("Please enter an interger number:\n");
   scanf("%d",&a);
   printf("You have Entered : %d",a);
   getch();
}

=========================
OUTPUT:-

Please enter an integer number:
5                                                                              
You have Entered: 5                                                           
                                      
=========================
                                        
      
C program for formatted input/output function printf() and scanf()

Comments