Program:
#include<stdio.h>
int main()
{
int n;
printf("Please enter ASCII number: ");
scanf("%d", &n);
printf("The appropriate character of ASCII %d: %c", n,n);
return 0;
}
Output:
Please enter ASCII number: 97
The appropriate character of ASCII 97: a
Process returned 0 (0x0) execution time : 4.219 s
Press any key to continue.
#include<stdio.h>
int main()
{
int n;
printf("Please enter ASCII number: ");
scanf("%d", &n);
printf("The appropriate character of ASCII %d: %c", n,n);
return 0;
}
Output:
Please enter ASCII number: 97
The appropriate character of ASCII 97: a
Process returned 0 (0x0) execution time : 4.219 s
Press any key to continue.
0 comments:
Post a Comment