Answer to Question #5114 in C++ for yousra fatima
Develop a program in c that takes as input a decimal value and prints its corresponding ASCII Character
1
2011-11-17T08:55:53-0500
#include <stdio.h>
int main (int argc, char * argv[])
{
char c;
int i;
printf("Enter a decimal value: ");
scanf("%i", &i);
c = (char)i;
printf("ASCII Character: %c", c);
return 0;
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment