Here's a C program to find the roots of a quadratic equation with output and proper explanation. This program uses Switch Case Condition, Break, IF-Else and Math.H Header File to use functions like pow() and sqrt().
Showing posts with label Math.h Header File. Show all posts
Showing posts with label Math.h Header File. Show all posts
Wednesday
Monday
C Program to Find Power of a Number using pow() Function | C Program
Here's a C program to find power of a number using pow() Function. This pow() function is not available to use by default, you first have to include the Math.H Header File to use this function.
Saturday
Program to Calculate the Sine Series in C | C Program
Here's a C program to calculate the sine series with output. This program makes use of C concepts like For loop. The program also uses C's math.h header file and power function pow(i, j).
Program to Calculate the Cosine Series in C | C Program
Here's a C program to calculate the cosine series with output. This program makes use of C concepts like For loop. The program also uses C's math.h header file and power function pow(i, j).
Convert Binary Number to Decimal Number in C | C Program
Here's a C program to convert a binary number to a decimal number with output and proper explanation. This program makes use of C concepts like While loop, IF-Else and Modulus. The program also uses C's math.h header file and power function pow(i, j).
Tuesday
Checking a Number is Perfect Square or Not using C | C Program
Here's a C program to check whether a given number is a perfect square or not with output and proper explanation. Here, we're using math.h header file to use the square root function i.e. sqrt().
Subscribe to:
Posts (Atom)
Labels
C Program Examples
For Loops
C Aptitude Questions
C Interview Questions with Answers
If Else in C
Nested Loops
Arrays in C
Modulus in C
While Loop
C Programming Tips
If in C
Arithmetic Operations
Auto Incrementing Operator ++
Break
C Programming Facts
Strings in C
C Concepts
Matrix in C
Float Data Type
Power Function pow()
Switch Case
gets Function in C
Entering Value in a Matrix
String Functions
C Operators
C++ Interview Questions with Answers
Continue in C
String Copy strcpy()
Trigonometry Examples
Auto Decrementing Operator --
CTYPE.H Header File in C
Division in C
Fibonacci Series
For Loop with No Body
GOTO Statement
Pointer in C
Sorting
String Length strlen()
Ternary Operator
Two Dimensional Arrays in C
Type Casting in C
Using Arrays as Pointers in C
Using Pointers as Arrays in C
C Header Files
Constructor
Destructor
Do While Loop
Finding Day of Given Date
Finding Leap Year
User Defined Functions in C

