Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
100+ C Programs for Beginners
Highest Rated
Rating: 4.5 out of 5(32 ratings)
346 students

100+ C Programs for Beginners

Each program is explained clearly step by step. You will get a solid foundation in Coding [C Programming].
Created byCSxFUNDA TECH
Last updated 11/2018
English

What you'll learn

  • Able to write pseudo code for a given problem
  • Able to trace a C program for given input values
  • Able to write a C program for a given problem

Course content

5 sections192 lectures6h 36m total length
  • Program 1 - Problem Statement0:29

    Write a C program to check a given number using the ternary operator; follow an approachable method and attempt before reviewing the solution.

  • Program 1 - Explanation4:22

    Learn how the slash operator in C performs division to yield quotient and remainder, and how conditional logic uses true or false conditions in a basic C program.

  • Program 2 - Problem Statement0:35

    Write a C program to check whether a given year is a leap year, as introduced in program 2 problem statement for 100+ C programs for beginners.

  • Program 2 - Explanation4:13

    Learn to determine a leap year in C by testing a year against a condition and looping every four years, noting February 29 days and outputting leap year or not.

  • Program 3a- Problem Statement0:35

    Write a C program that handles two variables and demonstrates changing values as described in the problem statement. Practice implementing, testing, and refining the solution for this exercise.

  • Program 3a - Explanation3:27

    Explore a C program explanation with pseudocode and an example to understand the logic of swapping values, reading inputs, and displaying the swapped results.

  • Program 3b - Problem Statement0:37

    Write a C program that surrounds the values of two variables without using a total variable, and practice matching the required output format.

  • Program 3b - Explanation3:53

    Learn to write a C program that handles two variables without a third variable, using two assignment statements and arithmetic operations, with an explained example.

  • Program 4 - Problem Statement0:33

    Write a C program to convert Fahrenheit to Celsius using the formula (F-32)/1.8; try it yourself first, then check the solution.

  • Program 4 - Explanation2:27

    Learn to write a C program that converts Fahrenheit to Celsius using a given formula. The lesson includes an example and explains reading Fahrenheit input and displaying Celsius output.

  • Program 5 - Problem Statement0:48

    Write a C program to compute the circle's diameter, area, and perimeter from a given radius, and check the solution after attempting the exercise.

  • Program 5 - Explanation2:45

    Learn to write a simple C program to compute a circle's diameter from its radius using the formula diameter equals twice the radius, reading the radius, and displaying the result.

  • Program 6 - Problem Statement0:42

    Write a program to calculate diagonal area from a square with a given side, such as a 14 foot side, and practice solving the problem before checking the solution.

  • Program 6 - Explanation2:25

    Explain how to write a C program to find the diagonal area from a given side, detailing code structure, header file usage for variables, and how the result is displayed.

  • Program 7 - Problem Statement0:31

    Practice writing a clear problem statement by breaking down the exercise, applying an operator, and outlining steps before solving and verifying the solution.

  • Program 7 - Explanation3:59

    Explore how the remainder operator and boolean logic evaluate conditions in C, with examples of true and false outcomes and practice writing a C program to handle a given name.

  • Program 8 - Problem Statement0:32

    Write a C program to check whether the given name bait and switch fight or not, using a modular machine operator with 10 outputs, and then check this solution.

  • Program 8 - Explanation3:03

    Explore how to write a C program that checks whether a given number ends with 5 by testing its last digit with the remainder.

  • Program 9 - Problem Statement0:37

    Write a C program to calculate quotient and remainder using the division operator. Practice this exercise and then check the solution.

  • Program 9 - Explanation2:27

    Explain how to write a simple C program to compute quotient and remainder using division and modulo operators, read inputs, and display results.

  • Program 10 - Problem Statement0:34

    Write a C program to determine if three given sides form a triangle by applying the triangle inequality, ensuring sum of any two sides exceeds the third.

  • Program 10 - Explanation3:13

    Learn to write a C program that checks whether three sides form a triangle using a conditional test. The lecture explains the logic, inputs, and output.

  • Program 11 - Problem Statement0:49

    This exercise asks you to write a C program to solve a problem statement, attempt it on your own, and then check the solution.

  • Program 11 - Explanation3:59

    Learn to write a C program that checks the triangle condition for sides a, b, c and computes the area of the triangle, with examples and logic explained.

  • Program 12- Problem Statement0:43

    Learn to write a C program that determines the triangle type from three sides, including equilateral, isosceles, and scalene cases.

  • Program 12 - Explanation5:15

    Learn to write a C program that reads three side lengths, checks triangle validity, and classifies the triangle as equilateral, isosceles, or scalene.

  • Program 13 - Problem Statement0:44

    Learn to write a C program that checks whether three numbers form a right angled triangle by verifying that the hypotenuse square equals the sum of the other two squares.

  • Program 13 - Explanation4:07

    Program 13 explains how to determine whether three given sides form a right angled triangle by applying the Pythagorean theorem in a C program.

  • Program 14 - Problem Statement0:32

    Write a C program to display the uppercase of a given lowercase alphabet without using the upper function, by using ASCII values, and verify against the solution.

  • Program 14 - Explanation Part 12:19

    Demonstrate how to use ASCII values to print characters in C, show uppercase and lowercase codes, and illustrate printf-based display of characters and their numeric codes.

  • Program 14 - Explanation Part 22:50

    Convert lowercase to uppercase in C without using a function by subtracting 32 from each character. Read lowercase input and print the uppercase alphabet.

  • Program 15 - Problem Statement0:32

    Write a C program to convert an uppercase letter to lowercase using ASCII values, without any library function; try on your own and then check the solution.

  • Program 15 - Explanation2:40

    Program 15 demonstrates converting an uppercase letter to lowercase in C without using the tolower function, by adding 32 to the ASCII value, with examples and pseudocode.

  • Program 16 - Problem Statement0:32

    Write a C program to determine whether a given character is a digit or a lowercase letter using ASCII values. Output the result accordingly and try solving before checking solution.

  • Program 16 - Explanation4:40

    Classify a given character in a C program as a number, uppercase letter, lowercase letter, or special character using ASCII ranges 48–57, 65–90, and 97–122.

  • Program 17 - Problem Statement0:50

    Learn to write a C program that checks whether a given number is even or odd using the modulus operator, with practice and solution verification.

  • Program 17 - Explanation2:03

    Learn to determine whether a given number is even or odd in C by testing divisibility by 2 and displaying the corresponding result.

  • Program 18 - Problem Statement0:42

    Write a C program to determine the quadrant of a given point, and practice solving by attempting first and then checking the solution.

  • Program 18 - Explanation2:31

    Program 18 explains how to determine the cross and Duffin point by evaluating conditional checks in a C program, using x and y signs to display the correct quarter.

  • Program 19 - Problem Statement0:30

    Write a C program to compute the difference and demonstrate multiplication and division of two floating-point numbers using a switch statement for output.

  • Program 19 - Explanation1:53

    Explains how to use a switch statement in a C program to perform addition, subtraction, multiplication, and division based on user choice, including break behavior and result display.

  • Program 20 - Problem Statement0:37

    Practice implementing a program to verify the triangle inequality for three sides, ensuring any two sides exceed the third, and validate the solution on your own.

  • Program 20 - Explanation3:37

    Explore writing a C program to determine whether three points form a triangle by calculating distances between points, using distance formulas and square roots, and verifying triangle conditions.

  • Program 21 - Problem Statement0:40

    Learn to implement a C program that computes the sum of terms in an arithmetic progression, using the first term and common difference, with guided practice and review.

  • Program 21 - Explanation3:41

    Explore a C program that derives common difference from first two terms and computes the sum of the first n terms of an arithmetic progression, illustrated with 2, 4, 6.

  • Problem 22 - Problem Statement0:37

    Learn to write a C program to solve the problem statement, applying dynamic programming, and attempt the challenge on your own before reviewing the solution.

  • Program 22 - Explanation3:10

    Explains the concept of a geometric progression, its first term and common ratio, and how to compute the sum of the first n terms with a code example.

Requirements

  • Familiar with C programming
  • Any IDE which supports C

Description

This course is an early bird release. More programs will be added in the coming days

If you are familiar with C programming, but you are not able to understand or write C program for a given problem, then this course helps in improving your coding skills.

In this course, 100 + C programs of different levels are explained clearly with pseudo code and tracing with sample inputs . After solving 100+ C programs, you will get a solid foundation in Coding.


Each program is explained clearly in four steps

  1. Concept behind the problem is explained with examples

  2. Pseudo Code is explained

  3. Pseudo Code is traced for sample input

  4. Finally, complete C code is explained



Who this course is for:

  • Beginner in C programming who wants to improve his coding skills. This course is not for experienced C Programmers