Program to calculate sales man salary

Program to calculate sales man salary

#include<stdio.h> #include<conio.h> void main() { float amount, sal, price; int qty; clrscr(); ...
Program to take amount as Rupee and paise and print it as paise

Program to take amount as Rupee and paise and print it as paise

#include<stdio.h> #include<conio.h> void main() { float rp; int r,p; clrscr() ; printf("n Enter amount n") ; ...
Program to perform all arithmetic operations on two integers

Program to perform all arithmetic operations on two integers

#include<stdio.h> #include<conio.h> void main() { int a,b,c; /* a,b for input and c for result */ clrscr(); printf("enter two integersn); ...
Program to find compound interest

Program to find compound interest

#include<stdio.h> #include<conio.h> void main() { float p,t,r,ci; /* p-> principle amount, t-> time in years, ...
Program to find simple interest

Program to find simple interest

#include<stdio.h> #include<conio.h> void main() { float p,t,r,si; /* p-> principle amont, t-> time in years, ...
Program to convert the temperature Fahrenheit to celsius

Program to convert the temperature Fahrenheit to celsius

#include<stdio.h> #include<conio.h> void main() { float c,f; /* c for celsius and f for Fahrenheit */ clrscr(); print("enter Fahrenheitn"); ...
Program to convert the temperature from Celsius to Fahrenheit

Program to convert the temperature from Celsius to Fahrenheit

  #include<stdio.h> #include<conio.h> Void main() {    float c,f;        /*c for Celcious and f for Fahrenheit*/    clrscr();    printf(“enter celciousn”);    scanf(“%f”,&c);    f=(c+32)*9/5;    c*9/5+32;   ...
program to find the area of triangle

Program to find area of triangle when height and base are given

  #include<stdio.h> #include<conio.h> void main() {    float h,b,a;          /*h for height, b for base and a for area*/    clrscr();    printf(“enter height and base of trianglen”); ...
program to find volume of sphere

Program to find volume of sphere

#include<stdio.h> #include<conio.h> #include<math.h> #define pi 3.142 void main() {   float r,v;                   /* r for radius and v for volume*/   clrscr();   printf(“enter radius of spheren);   scanf(“%f”,&r);       ...
c program to area of rectangle

Program to find the area of rectangle

  #include<stdio.h> #include<conio.h> void main() { float a,b,area;     /* a, b for 2 sides and area for result */ clrscr(); printf("enter two sides of rectangle...

Stay connected

17,477FansLike
1,826FollowersFollow
14,200SubscribersSubscribe
- Advertisement -

Latest article

Program to largest of three numbers

Program to find largest of three numbers

#include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("Enter three numbersn"); scanf("%d%d%d",&a,&b,&c); if((a>b)&&(b>c)) /* use of logical &&, which gives true...
Program to finding the roots of quadratic equation

Program to finding the roots of quadratic equation

#include<stdio.h> #include<conio.h> #include<conio.h> void main() { float a,b,c,d,root1,root2; clrscr(); printf("Enter a b c n"); scanf("%f%f%f",&a,&b,&c); d=b*b-4*a*c; /* finding determinant */ ...
Program for checking a number is positive negative or zero

Program to check a number is positive negative or zero

#include<stdio.h> #include<conio.h> void main() { int a; clrscr(); printf("Enter a numbern"); scanF("%d",&a); if(a>0) printf("n positive number n"); ...