bsc

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

commit d388ef9c8289cd1b6d7a6f99c2eadcd972a2805f
parent 390a9048d8c646fa6440a06be082f6349e06fb96
Author: Amit Dutta <amitdutta4255@gmail.com>
Date:   Tue,  7 Oct 2025 20:45:37 +0530

new 28

Diffstat:
Aletusc/luc028.c | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/letusc/luc028.c b/letusc/luc028.c @@ -0,0 +1,18 @@ +/* Write a program to print all the ASCII values and their equivalent +characters using a while loop. The ASCII may vary from 0 to 255. */ +/* Author - Amit Dutta, Date - 7th OCT, 2025 */ +/* Let Us C, Chap- 5, Page - 87, Qn No.: B(a) */ + +#include <stdio.h> +int main() +{ + int i = 0; + printf("ASCII Value\tCharacter"); + printf("\n-----------\t---------\n"); + while (i <= 255) + { + printf("%d.\t%c\n\n", i, i); + i++; + } + return 0; +}+ \ No newline at end of file
© 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