3 like 0 dislike
811 views
Do a program which has an integer input of an ASCII code and output is the character corresponding the ASCII code.

 

ASCII table:

PIPLS
[Normal] Coding (C) - asked in Chapter 3: Formatted Input/Output by (-286 points)
ID: 25611 - Available when: Unlimited - Due to: Unlimited
| 811 views

12 Answers

0 like 0 dislike
Hidden content!
#include * *** ** **** *

int main()
{
* ** * * *** * *** * num1;
*** * ** * * * **
*** ****
****** ** * * * * *** * * *** * * ** * ** ** **
  
**** * * * * ********* * * * ** * * * **
* * ** ** * * * ***** 0;
}
answered by (-193 points)
0 0
Case 0: Correct output
Case 1: Correct output
Case 2: Correct output
Case 3: Correct output
Case 4: Correct output
0 like 0 dislike
Hidden content!
#include <stdio.h>
#include * * *

int main()
{
** ** * * * *** *** * a;
* * ***** * *** ** ** ** * c;

* * * ** ** ** **** * ***** * ** *

****** ** ** ** * ***

* **** * * ** ** ** * * * ** * ** *

**** * * * * ** * ** * * 0;
}
answered by (-16 points)
0 0
Case 0: Correct output
Case 1: Correct output
Case 2: Correct output
Case 3: Correct output
Case 4: Correct output
0 like 0 dislike
Hidden content!
#include * * * * ***

int main() {
  
** * **** * ** *** ** ** ** dec;
** *** ** ** * * **** * * * * ** * *** &dec);
*** ** * * * ** * * * * ** * ** ** * ** dec);
*** * * *** **
*** * **** ** * ** *
** ** * * *
** ***** * **** * 0;
}
answered by (323 points)
0 0
Case 0: Correct output
Case 1: Correct output
Case 2: Correct output
Case 3: Correct output
Case 4: Correct output
0 like 0 dislike
Hidden content!
#include <stdio.h>

int main()
{
* * * * * * * ** * * decimal;
* * ****** ** *** *
* *** *** ***
** ** ** ** * ** * ** * *** * **** * ** ** *
* *** *** * *** *
* ** * * ********* *** * * ***
* * ** *** *** *** ****** *
* * * *** * ***** *** ** 0;
}
answered by (-193 points)
0 0
Case 0: Correct output
Case 1: Correct output
Case 2: Correct output
Case 3: Correct output
Case 4: Correct output
0 like 0 dislike
Hidden content!
#include * * * *** *

int main()
{
* * * *** ** * **** decimal;


* * * *** * * ** ***** * * *** ** * *

* * ** ** * ** ***** * *** * **** *

* * * * * *** * ** * 0;
}
answered by (-193 points)
0 0
Case 0: Wrong output
Case 1: Wrong output
Case 2: Wrong output
Case 3: Wrong output
Case 4: Wrong output
0 like 0 dislike
Hidden content!
* * ** ** *
int main(void)
{
*** ** ** **** *** ** * * a;
* ** **** **** **** * * * **** * &a);
** * * *** **** ** *** * * * ** *
* ** * ** * * *** 0;
}
answered by (-304 points)
0 0
-----------Re-judge-----------
Case 0: Correct output
Case 1: Correct output
Case 2: Correct output
Case 3: Correct output
Case 4: Correct output
0 like 0 dislike
Hidden content!
#include<stdio.h>
int main()
{
* ** ** *** * ** ** * a;
** ** * *** * *** ** **** ** * ** *
* ** ** * ** ** **** ** * *** * ** **
* * ** * *** ** ** ** * * ** 0;
}
answered by (-255 points)
0 0
-----------Re-judge-----------
Case 0: Correct output
Case 1: Correct output
Case 2: Correct output
Case 3: Correct output
Case 4: Correct output
0 like 0 dislike
Hidden content!
#include *** * ** ** *
* * * ** * **

int main()
{
* ** ** a;
** ** * **** **** * * ** * **
* ** * ***** *
**** ** * 0;
}
answered by (-108 points)
0 0
-----------Re-judge-----------
Case 0: Correct output
Case 1: Correct output
Case 2: Correct output
Case 3: Correct output
Case 4: Correct output
0 like 0 dislike
Hidden content!
** * * * * * * *

int main() {
****** ** * * * ***** a;
** * * ** ** *** ** ** ** * * ** &a);
**** * * ***** * * **** * ** ** *** ** a);
}
answered by (-120 points)
0 0
-----------Re-judge-----------
Case 0: Correct output
Case 1: Correct output
Case 2: Correct output
Case 3: Correct output
Case 4: Correct output
0 like 0 dislike
Hidden content!
* * * * * * **



int main() {
* * * *** *** * ** ** c;
**** * * ** * ***** *** * * *** * &c);
** * * ** * * * * * ** * *** c);

}
answered by (-120 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.131.69
©2016-2024

Related questions

3 like 0 dislike
87 answers
[Exercise] Coding (C) - asked Oct 12, 2017 in Chapter 3: Formatted Input/Output by thopd (12.1k points)
ID: 26463 - Available when: Unlimited - Due to: Unlimited
| 2.6k views
3 like 0 dislike
116 answers
[Exercise] Coding (C) - asked Oct 5, 2017 in Chapter 3: Formatted Input/Output by thopd (12.1k points)
ID: 25729 - Available when: Unlimited - Due to: Unlimited
| 3.4k views
12,783 questions
183,443 answers
172,219 comments
4,824 users