• Home
  • Ellen Latest Publications

Ellen Latest Publications

  • 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

  • Raja Gupta
  • September 22, 2024

Program to Calculate Factorial of a Number

Description:This program calculates the factorial of a number. Factorial is a basic concept in mathematics where the product of all positive integers up to a number is calculated. It uses a for loop to perform repeated multiplication and also demonstrates how to handle errors for invalid inputs (negative numbers). Usage:The user inputs a positive integer,

  • Raja Gupta
  • September 22, 2024

Program to Reverse a String

Problem Statement: Write a C program to reverse a given string. Description:This program demonstrates string manipulation in C. It uses strlen() to determine the length of a string and a for loop to reverse the string by swapping characters. The program also introduces arrays and string handling. Usage:The user inputs a string, 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