Skip to content

This collection contains various simple and practical C programs for learning and practicing programming. From basic arithmetic and pattern printing to simulating ATM transactions and checking for leap years, these programs cover a range of concepts.

Notifications You must be signed in to change notification settings

awkward-py/C-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

C-Programs

  • AIO.c: A program that performs arithmetic operations on two numbers entered by the user.

  • ATM.c: A program that simulates an ATM machine that allows the user to withdraw, deposit, and check balance.

  • Addition.c: A program that adds two numbers entered by the user.

  • AreaOfTriangle.c: A program that calculates the area of a triangle given its base and height.

  • Arrow.c: A program that prints an arrow pattern using asterisks.

  • Diamond.c: A program that prints a diamond pattern using asterisks.

  • EvenOrOdd.c: A program that checks whether a number entered by the user is even or odd.

  • Factorial.c: A program that calculates the factorial of a number entered by the user.

  • HelloWorld.c: A program that prints "Hello, World!" on the screen.

  • Hollow_sqr_ptn.c: A program that prints a hollow square pattern using asterisks.

  • Hourglass.c: A program that prints an hourglass pattern using asterisks.

  • IO.c: A program that demonstrates input and output operations in C.

  • Inverted_Right_TP.c: A program that prints an inverted right triangle pattern using asterisks.

  • Largest_No_Among_3_No.c: A program that finds the largest number among three numbers entered by the user.

  • LeapYear.c: A program that checks whether a year entered by the user is a leap year or not.

  • License: A file that contains the license information for the repository.

  • Positive_Negetive_Zer0.c: A program that checks whether a number entered by the user is positive, negative, or zero.

  • PrimeNo.c: A program that checks whether a number entered by the user is a prime number or not.

  • Simplenterest.c: A program that calculates the simple interest given the principal, rate, and time.

  • area_of_rectangle.c: A program that calculates the area of a rectangle given its length and width.

  • average_3_no.c: A program that calculates the average of three numbers entered by the user.

  • billing.c: A program that generates a bill for a customer who buys items from a store.

  • calculator.c: A program that implements a simple calculator that can perform addition, subtraction, multiplication, and division.

  • even_no.c: A program that prints all the even numbers from 1 to 100.

  • naam_kya_hai.c: A program that asks to Bhupendra Jogi.

  • no_is_positive.c: A program that checks whether a number entered by the user is positive or not.

  • pyramid.c: A program that prints a pyramid pattern using asterisks.

  • smallest_no_among_3_no.c: A program that finds the smallest number among three numbers entered by the user.

  • sqr_pattern.c: A program that prints a square pattern using asterisks.

  • sum_natural_no.c: A program that calculates the sum of natural numbers from 1 to n, where n is entered by the user.

  • swap.c: A program that swaps the values of two variables using a temporary variable.

  • time.c: A program that converts seconds into hours, minutes, and seconds.

  • triangle_pattern.c: A program that prints a right triangle pattern using asterisks.

  • vowel.c: A program that checks whether a character entered by the user is a vowel or not.

About

This collection contains various simple and practical C programs for learning and practicing programming. From basic arithmetic and pattern printing to simulating ATM transactions and checking for leap years, these programs cover a range of concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages