Programming

  • Raja Gupta
  • September 27, 2024

Program to Find the Sum of Digits of a Number

Problem Statement: Write a C program to find the sum of digits of a given number. Description:This program calculates the sum of the digits of a number. It uses a loop and arithmetic operations to extract each digit of the number, add them together, and return the sum. Usage:The user enters a positive integer, and

  • Raja Gupta
  • September 22, 2024

Program to Convert Celsius to Fahrenheit

Problem Statement: Write a C program to convert a temperature in Celsius to Fahrenheit Description:This program converts a given temperature from Celsius to Fahrenheit using the formula: Fahrenheit = (Celsius * 9/5) + 32It demonstrates basic input/output functions and arithmetic operations in C. Usage:The user inputs a temperature in Celsius, and the program converts and

  • Raja Gupta
  • September 22, 2024

Program to Swap Two Numbers without Using a Temporary Variable

Description:This program swaps two numbers without using a temporary variable. It uses basic arithmetic operations to swap values, showcasing how arithmetic manipulation can be used to exchange values without needing extra memory. Usage:The user inputs two numbers, and the program swaps their values and displays the result. Code: Explanation: Test here:

  • Raja Gupta
  • September 22, 2024

C Programming Exercise

Welcome to our C Programming Exercises page! Whether you’re a beginner or looking to sharpen your skills, we have a variety of exercises to help you master C programming. Our exercises are divided into three categories based on difficulty.

  • Raja Gupta
  • September 22, 2024

Program to Find GCD of Two Numbers

Description:This program finds the Greatest Common Divisor (GCD) of two numbers. The GCD is the largest positive integer that divides both numbers without leaving a remainder. It demonstrates the use of loops and conditional logic to find common divisors. Usage:The user inputs two numbers, and the program finds and prints their GCD. Code: Explanation: Test

  • Raja Gupta
  • September 22, 2024

Program to Print Fibonacci Series

Description:This program prints the Fibonacci sequence, where each number is the sum of the two preceding ones. It starts from 0 and 1 and continues for “n” terms. It introduces loops and helps in understanding series generation using iteration. Usage:The user inputs the number of terms they want in the Fibonacci sequence, and the program

Circuit Analysis with LTspice

Updated: July 30, 2025
Beginner

This hands-on, beginner-to-advanced course is designed for students, electronics hobbyists, and engineers who want to learn how to simulate real-world circuits using LTspice.Instead of just theory, you’ll build, test, and analyze circuits inside LTspice, an industry-standard simulation tool used across academia and industry. By the end of this course, you’ll be able to simulate analog,

Arduino Programming

Updated: July 27, 2025
Beginner

This beginner-friendly course is designed for students, hobbyists, and aspiring makers who want to learn Arduino programming by building real circuits and writing real code. Just like in a real electronics lab, you’ll connect components, upload sketches, and make things move, blink, and respond. Whether you’re working on your first project, preparing for college lab

Raspberry Pi Foundation

Updated: July 26, 2025
Beginner

C Programming Practice Bootcamp – Learn by Coding

Updated: July 25, 2025
Beginner

This beginner-friendly course is designed for students and aspiring programmers who want to learn C programming by doing. Instead of long lectures and dry theory, you’ll write real code from Day 1. Every lesson is hands-on, built with short instructions, real examples, and instant challenges — just like how you’d learn in a coding bootcamp