/c-program

Some Basic C Programs

Primary LanguageC

C Programs

This repository contains some basic C problems solutions.

Solved Problems

  • Add two integers. [ code ]
  • Area of an equilateral triangle. [ code ]
  • Area of rectangle from length and breadth. [ code ]
  • Area of triangle from base and height. [ code ]
  • ASCII of character. [ code ]
  • Average using array. [ code ]
  • Celcius to Fahrenheit. [ code ]
  • Character from A to Z. [ code ]
  • Character is Alphabet or not. [ code ]
  • Check even or odd. [ code ]
  • Check if element occurs in array. [ code ]
  • Concatenate two string. [ code ]
  • Convert second to hour, minute, day. [ code ]
  • Copy string without strcpy. [ code ]
  • Days to year, month, week, day. [ code ]
  • Diameter, circumference and area from radius. [ code ]
  • Even or odd. [ code ]
  • Fahrenheit to Celsius. [ code ]
  • Fibonnaci sequence. [ code ]
  • Find length of string. [ code ]
  • Find square root of number. [ code ]
  • Find third angle. [ code ]
  • Largest number from array. [ code ]
  • Largest number among three number. [ code ]
  • Leap year or not. [ code ]
  • Lexical order sorting. [ code ]
  • Mark of five subject total average percentage. [ code ]
  • Meter and kilometer from centimeter. [ code ]
  • Multiplication cross table. [ code ]
  • Multiply two floating point number. [ code ]
  • n Percent increment. [ code ]
  • Odd and even counting from array. [ code ]
  • Palindrom or not. [ code ]
  • Perimeter of rectangle from length and breadth. [ code ]
  • Power of number. [ code ]
  • Prime number range. [ code ]
  • Prime or not. [ code ]
  • Print even position elements from array. [ code ]
  • Print integer. [ code ]
  • Print odd position elements from array. [ code ]
  • Reverse a number. [ code ]
  • Reversing an array. [ code ]
  • Sum of integer. [ code ]
  • Sum of even number range. [ code ]
  • Sum of natural numbers. [ code ]
  • Sum of number range. [ code ]
  • Sum of off number range. [ code ]
  • Sum of prime number range. [ code ]
  • Swap two numbers. [ code ]
  • Triangle with asterisk. [ code ]
  • Vowel and consonant count. [ code ]
  • Vowel or consonant. [ code ]
  • Vowels in text. [ code ]