Question: 4. (20 points) Write a C program A4p4.c to print all the ASCII characters with values between 33 and 126 inclusive. Print each of
4. (20 points) Write a C program A4p4.c to print all the ASCII characters with values between 33 and 126 inclusive. Print each of the characters and its ASCII value in one line (a tab '\t' appears after the first character on each line). You must use loops to achieve the desired printing results. The total number of times that the keyword for and while appear cannot exceed 1. Part of a sample run can look like the following: [kwang@computer] [~/temp] $ ./A4p4 ! ASCII value: 33 " ASCII value: 34 # ASCII value: 35 $ ASCII value: 36 ASCII value: 37 ASCII value: 38 & .....(additional output here)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
