bsc

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

root / semester_1 / letusc / luc028.c

luc028.c (414B)


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