P058.c (630B)
1 /* 2 * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025 3 * Repo: https://github.com/notamitgamer/bsc 4 * License: MIT 5 */ 6 7 /* WAP to display ASCII code of Alphabets (A - Z) using void displayASCII() */ 8 9 // This code has not been compiled. 10 // If you find any issues, please create a new issue on GitHub regarding them. 11 // Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues 12 13 #include <stdio.h> 14 15 void displayASCII() 16 { 17 int i; 18 printf("ASCII Code\t\tCharacter"); 19 for (i = 'A'; i <= 'Z'; i++) 20 printf("\n%c\t\t%d", i, i); 21 } 22 23 int main() 24 { 25 displayASCII(); 26 return 0; 27 }