/* * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025 * Repo: https://github.com/notamitgamer/bsc * License: MIT */ /* Program to print first 10 natural numbers using while loop. */ /* * Compiler Note: This source code is specifically designed for compilation * and execution within the ** Turbo C ** environment. * * Testing Disclaimer: Due to a lack of access to the required Turbo C * compiler software, this code has not been formally compiled or tested. */ #include #include void main() { clrscr(); int x; x = 1; while (x <= 10) { printf("%d ", x); x++; } getch(); }