- Email: rockstarpabitra2204@gmail.com
- LinkedIn: Pabitra Banerjee
- Twitter: FossilianBhed
- Website: Pabitra Banerjee and Pabitra Banerjee
What does this program do?
This C program prompts the user to enter a number and then prints the numbers from 1 to the entered number in ascending order, each on a new line.
What does this program do?
This C program calculates the sum of all even numbers from 1 to a user-entered number.
What does this program do?
This C program calculates the factorial of a user-entered number using a while loop.
What does this program do?
This C program is a simple number guessing game where the user needs to guess a randomly generated number between 1 and 100. The program provides feedback on whether the guess is too high or too low and congratulates the user when the correct number is guessed.
What does this program do?
This C program calculates the reverse of a user-entered number using a while loop.
What does this program do?
This C program prints the first n terms of the Fibonacci sequence using a for loop.
What does this program do?
This C program calculates the product of all odd numbers between 1 and 50 using a for loop.
What does this program do?
This C program calculates the square root of a non-negative number using the Newton-Raphson method.
- Clone the repository or download the source code files.
- Compile the code for each program using a C compiler (e.g., gcc).
- Run the executables.
- Follow the on-screen instructions for each program.
Feel free to experiment with different inputs and observe the programs' behavior.
Good luck with your practical exam!