C programming language provide functions that can be use in creating programs.
scanf is the function use to accept data from user either of data type used.
Source:
Output of the Program:
scanf is the function use to accept data from user either of data type used.
Source:
#include<stdio.h> main() { int num; clrscr(); printf("Enter number to display:"); scanf("%d", &num); printf("This is the number you type: %d.",num); getch(); } |
Output of the Program:
0 comments :
Post a Comment