Back To C Basic Index
// program to input three numbers and display their values #include
#include
void main() { int a; int b; int c; clrscr(); printf("enter value for a"); scanf("%d",&a); printf("enter value for b"); scanf("%d",&b); printf("enter value for c"); scanf("%d",&c); printf("displaying the values"); printf("value of a is %d",a); printf("value of b is %d",b); printf("value of c is %d",c); getch(); }