Respuesta :
Explanation:
Please refer to the attached image
Python Code:
Please refer to the attached image
Output:
Please refer to the attached image
![Ver imagen nafeesahmed](https://us-static.z-dn.net/files/d02/96709759cdaa82217f3c509c4edef480.png)
![Ver imagen nafeesahmed](https://us-static.z-dn.net/files/d6c/bc167fd5e828ec56b383d3ee5e63dbd0.png)
![Ver imagen nafeesahmed](https://us-static.z-dn.net/files/d5e/2795950c5f9deed3551673300a33cdfd.jpg)
Following are the program to print the first 128 ASCII values:
Program:
#include <iostream>//header file
using namespace std;
int main()//main method
{
int i=1;//defining integer variable
for(i=1;i<=128;i++) //defining loop that prints the first 128 ASCII values
{
char x=(char)i;//defining character variable that converts integer value into ASCII code value
printf("%d=%c\n",i ,x);//print converted ASCII code value
}
return 0;
}
Program Explanation:
- Defining header file.
- Defining the main method.
- Inside the method, an integer variable "i" is declared which uses the for loop that counts 1 to 128 character values.
- Inside the loop, a character variable "x" is declared that converts integer values into a character, and use a print method that prints converter value.
Output:
Please find the attached file.
Find out more information about the ASCII values here:
brainly.com/question/3115410
![Ver imagen codiepienagoya](https://us-static.z-dn.net/files/d26/a472fabb38e7f60f6ba6d0719a917af2.jpg)
![Ver imagen codiepienagoya](https://us-static.z-dn.net/files/d04/6de069c305e7d45491fd697633f2494b.jpg)
![Ver imagen codiepienagoya](https://us-static.z-dn.net/files/d8b/dd38111662119bd62a9ea9f15d868724.jpg)
![Ver imagen codiepienagoya](https://us-static.z-dn.net/files/d5a/8ca571425d117a25ff55222c3fd58a88.jpg)