ASCII VALUE'S
Code :
#include<stdio.h>
int main()
{
int ascii_val;
char chr;
printf("=================================== =\n");
printf("\t ASCII VALUE'S\n");
printf("====================================\n");
printf("Enter a character : ");
scanf("%c", &chr);
ascii_val = chr;
printf("\n\tACSII Value = %d\n", ascii_val);
printf("------------------------------------\n");
return 0;
}
Come again Learn again !
No comments:
Post a Comment