Program to finding the roots of quadratic equation

Program to finding the roots of quadratic equation

#include<stdio.h> #include<conio.h> #include<math.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"); ...
program to check a number is even or odd

Program to check given number is odd or even

  #include<stdio.h> #include<conio.h> void main() { int a; /* for any integer */ clrscr(); printf("Enter a number n"); ...
program to largest of two numbers

program to largest of two numbers

#include<stdio.h> #include<conio.h> void main() { int a,b; /* for two numbers a & b */ ...
program to largest and equal of two numbers

Program to largest and equal of two numbers

#include<stdio.h> #include<conio.h> void main() { int a,b; /* for two numbers a & b */ clrscr(); ...
Program to illustrate trigonometric function

Program to illustrate trigonometric function

#include<stdio.h> #include<conio.h> #include<math.h> void main() { int n; float f; clrscr(); printf(" enter angle in...
Program to calculate electricity bill

Program to calculate electricity bill

#include<stdio.h> #include<conio.h> void main() { float bill,rate; int prev,prs,tu; /* previous meter reading, present meter reading...
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") ; ...
conditional statements

Conditional Statements

We have studied some of the preliminary concepts in c programming, which are essential for writing simple programs involving simple arithmetic expressions. All the...
- Advertisement -

Latest article

You Can’t Rush Really Love

There is a large number of commitment blog sites online. Most are funny people that chronicle weekly times or endless musings regarding the bizarre...

Harvest™ Brings ease to opportunity Tracking & Invoicing So Dating Specialists Can Pay attention...

The small Version: For matchmakers and matchmaking mentors, really love is their company — but that doesn't mean they like all time consuming jobs...

Conseils simples pour choisir un profil Pic pour capturer Elle...

Rencontres sur Internet profils ont tendance à être compliqués. C'est difficile de stabiliser devenir honnête avec un partage excessif, et découvrir le bon...