bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

luc028.c (550B)


      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 /* Write a program to print all the ASCII values and their equivalent
      8 characters using a while loop. The ASCII may vary from 0 to 255. */
      9 /* Let Us C, Chap- 5, Page - 87, Qn No.: B(a) */
     10 
     11 #include <stdio.h>
     12 int main()
     13 {
     14     int i = 0;
     15     printf("ASCII Value\tCharacter");
     16     printf("\n-----------\t---------\n");
     17     while (i <= 255)
     18     {
     19         printf("%d.\t%c\n\n", i, i);
     20         i++;
     21     }
     22     return 0;
     23 }
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror