C Programming
10 programs with Solution & Output
Rejaul Hoque Sarkar
Cont. No.- 9749189618 ; Email ID- srejaulhoque@gmail.com
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
1/ Write a C program to find the biggest of given two numbers.
Solution =>
Output =>
2/ Write a C program to find the biggest of given three numbers.
Solution =>
Output =>
3/ Write a C program to find the biggest of given three numbers using nested if.
Solution =>
Output =>
4/ Write a C program to find Y by selecting a equation using nested if.
Solution =>
Output =>
5/ Write a C program to find Y by selecting a equation using switch ().
Solution =>
Output =>
6/ Write a C program to calculate commissions for sales.
if sales <= Rs. 500, commission is 15%
if sales > 500 but <= 2000, commission is Rs. 35 plus 10%above Rs. 500
if sales > 2000 but <= 5000, commission is Rs. 185 plus 12% above 2000
if sales > 5000, commission is 12.5%
Solution =>Output =>
7/ Write a C program to find roots of a quadratic equation.
Solution =>
Output =>
8/ Write a C program to print grade for given average marks.
Solution =>
Output =>
9/ Write a C program to print electricity bill for customers.
Solution =>
Output =>
10/ Write a C program to find and print of steel samples.
Solution =>
Output =>
_______________________________________________________________________
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Thank You,
EduReja
Like us on Facebook : FB
Follow us on Twitter : TW
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
See Our Videos ==>> CLICK HERE
See Our Videos ==>> CLICK HERE
See Our Videos ==>> CLICK HERE
See Our Videos ==>> CLICK HERE
0 comments:
Post a Comment