bsc

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

APC-S-004.c (667B)


      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 /* Program to print first 10 natural numbers using while loop. */
      8 
      9 /* 
     10  * Compiler Note: This source code is specifically designed for compilation
     11  * and execution within the ** Turbo C ** environment.
     12  *
     13  * Testing Disclaimer: Due to a lack of access to the required Turbo C
     14  * compiler software, this code has not been formally compiled or tested.
     15  */
     16 
     17 #include <stdio.h>
     18 #include <conio.h>
     19 
     20 void main()
     21 {
     22     clrscr();
     23     int x;
     24     x = 1;
     25     while (x <= 10)
     26     {
     27         printf("%d  ", x);
     28         x++;
     29     }
     30     getch();
     31 }
© 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