# Tag Archives: c_basic

## Write a C Program to find the roots of quadratic equation

Find Roots of quadratic equation Write a C Program to find the roots of quadratic equation. Here’s simple Program to find the roots of quadratic equation in C Programming Language. Nature of roots of quadratic equation can be known from the quadrant = b2−4ac If b2−4ac >0 then roots are real and unequal If b2−4ac =0… Read More »

## Write a C Program to find the gross salary and net salary

Find the gross salary and net salary Write a C Program to find the gross salary and net salary. Here’s simple Program to find the gross salary and net salary in C Programming Language. Gross salary : We need to take input from user and then apply the simple formula to calculate the gross salary… Read More »

## Write a C Program To find the biggest and smallest number and positions in the given array

Find biggest and smallest number and positions in array Write a C Program To find biggest and smallest number and positions in the given array. Here’s simple Program To find biggest and smallest number and positions in the given array in C Programming Language. What is an Array ? Arrays a kind of data structure that can… Read More »

## C Program to check whether character is vowel or not

Check whether character is vowel or not Write a C Program to check whether character is vowel or not using switch statement. Here’s simple Program to check whether character is vowel or not using switch statement in C Programming Language. Below is the source code for C Program to check whether character is vowel or not… Read More »

## Write a C Program to check triangle is a equilateral, isosceles or scalene

Check triangle is equilateral, isosceles or scalene Write a C Program to check triangle is a equilateral, isosceles or scalene. Here’s simple Program to check triangle is a equilateral, isosceles or scalene in C Programming Language. A triangle is : : A triangle is equilateral triangle, If it’s sides are equal. A triangle is isosceles triangle, If… Read More »

## Write a C Program to generate table of a given input number

Generate table of a given input number Write a C Program to generate table of a given input number. Here’s simple C Program to generate table of a given input number in C Programming Language. Enter any integer number as input of which you want multiplication table. After that we use for loop from one to… Read More »

## Write a C Program to find out the sum of first n numbers

Find out the sum of first n numbers Write a C Program to find out the sum of first n numbers. Here’s simple Program to find out the sum of first n numbers in C Programming Language. LOGIC : :  The program asks the user to enter the number of terms he/she would like to evaluate… Read More »

## Write a C Program to check occurence of digit in a given number

Check occurence of digit in a given number Write a C Program to check occurence of digit in a given number. Here’s simple Program to check occurence of digit in a given number in C Programming Language. Below is the source code for C Program to check occurence of digit in a given number which is… Read More »

## C Program to display sum of even and product of odd numbers

Accept ten numbers and display the sum of even numbers and product of odd numbers Write a C Program to Accept ten numbers and display sum of even and product of odd numbers. Here’s simple Program to Accept ten numbers and display sum of even and product of odd numbers in C Programming Language. Below is the… Read More »

## C program to convert temperature from Fahrenheit to Celsius and vice versa

Fahrenheit to Celsius and Celsius to Fahrenheit Write a C program to convert temperature from Fahrenheit to Celsius and Celsius to Fahrenheit . Here’s simple C program to convert temperature from Fahrenheit to Celsius and vice versa in C Programming Language. Below is the source code for C program to convert temperature from Fahrenheit to Celsius… Read More »