bsc

Comprehensive codebase and coursework for the 4-year B.Sc. Computer Science Honours degree (WBSU)

git clone https://github.com/notamitgamer/bsc.git
· rebuilt hourlyOpen on GitHub
root / semester_1 / tuition-c / P058.c

P058.c (494B)


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