Created
November 24, 2019 10:21
-
-
Save SCI-COPATH/909918e434e95a3d1e96e3d2a2c173ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <conio.h> | |
void main() | |
{ | |
int num; | |
float fnum; | |
char letter; | |
double number; | |
clrscr(); | |
printf("Enter a integer\n"); | |
scanf("%d",&num); | |
printf("Enter a floating point\n"); | |
scanf("%f",&fnum); | |
printf("Enter a charator\n"); | |
scanf("%c",&letter); | |
printf("Enter a integer\n"); | |
scanf("%lf",&number); | |
printf("\n The number is\n"); | |
printf("%d \t %f \t %c \t %lf \t",num,fnum,letter,number); | |
getch(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment