I guess you need to add 32 to a number entered by the user and you want the code in C. Here it is:
#include
int main()
{
int n;
printf("Enter a number\n");
scanf("%d",&n);
printf("%d", n+32);
return 0;
}
Hope this helps!
2007-03-14 14:50:49
·
answer #1
·
answered by Rainmaker 2
·
0⤊
1⤋
If I understand correctly, you want to add 32 to letter c. So you have to find the decimal representation of c which is 99 from the ascii table and assuming you just want a number.
Then 99 + 32 = your answer
If you wish you convert it back to ascii take a look at the table for the ascii representation of the decimal value.
Good Luck
2007-03-14 21:05:47
·
answer #2
·
answered by ? 6
·
0⤊
0⤋
It's impossible. Nothing can go faster than speed of light
2007-03-14 22:09:44
·
answer #3
·
answered by Richard_Spears 2
·
0⤊
2⤋
In what language?
2007-03-14 21:05:36
·
answer #4
·
answered by Anonymous
·
0⤊
1⤋
i have no idea what ur takin about
2007-03-14 21:39:27
·
answer #5
·
answered by Anonymous
·
0⤊
2⤋