(Display the ASCII character table) Write a program that prints all the uppercase characters of the ASCII character table. Display 5 characters per line. The ASCII table is shown in Appendix B. Characters are separated by exactly one space.

PHOTO EMBED

Sat Oct 24 2020 02:47:16 GMT+0000 (UTC)

Saved by @mahmoud hussein #c++

#include <iostream>
#include<cmath>
#include<ctime>
#include<string>
#include <iomanip>
#include <fstream>

using namespace std;

int main()
{
	int firstLetter = 65;
	int count = 0;

	for (int i = 65; i <= 90; i++)
	{
		count++;
		if (count%5 == 0)
			cout << setw(3) << static_cast<char>(i) << endl;
		else
			cout << setw(3) << static_cast<char>(i);

		
		
	}

	
	
		

	
	
}
content_copyCOPY

http://cpp.sh/