C program to evaluate the following series. f(x)=x-x3/3! + x5/5!-x7/7!………………….into given numbers of terms. Series is a ordered set of elements combined together by additional operator. Finite series contains number of defined elements, and infinite series contains infinite elements. Read more about C Programming Language .
C program to accept two integers for a co-ordinate point and determine its Quadrant. A Cartesian coordinate system specifies each point uniquely in a plane by a pair of numerical coordinates, which are the signed distances from the point to two fixed perpendicular directed lines, measured in the same unit of length.
The left to right (horizontal) direction is commonly called X-Axis.
The up to down (vertical) direction is commonly called Y-axis.
The X and Y axises divide the plane into four regions, called as the quadrant. Read more about C Programming Language .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C Program to check whether the given number is prime or not and Print the suitable messages. Prime number is a whole number and greater than 1, which is divisible by one or itself. Example: 2, 3, 5, 7, 11, 13………… Read more about C Programming Language .
C program to check whether a given 5 digit number is palindrome or not. Palindromic number is a number that remains same, when it is reversed or can be read in the same way in either direction. Example:12321, 23132… Read more about C Programming Language .
C Program to find whether the given year is leap or not. Leap year is a year, which is containing one extra day, i.e 366 days. In the leap year February contains the date 29. Read more about C Programming Language .
Example programs to solve the problems of Arrays in C, C Program to generate n Fibonacci terms using array declaration. Fibonacci numbers are sequence of numbers starts from 0 and 1 , continue by adding previous number. Example: 0,1,1,2,3,5,8,13,…….. Read more about C Programming Language .
C Program to find whether the given character is Vowel or Consonant. Here, we use the simple if-else statement to check the particular character is Vowel or Consonant. Read more about C Programming Language .
Â
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C program to simulate a simple calculator using switch statement. Â The calculator should be able to perform basic arithmetic operations like addition, subtraction, multiplication, and division only on integers. Error message should be reported, if any attempt is made to divide by zero. (Using switch statement) . Read more about C Programming Language .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C Program to implement Binary search. Binary search technique is simple searching technique which can be applied if the items to be compared are either in ascending order or descending order. The general idea used in binary search is similar to the way we search for the telephone number of a person in the telephone directory. Binary search is the divide and conquer strategy.Read more about C Programming Language.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C Program to convert a given decimal number into its binary equivalent. In this program we convert the given decimal based number system(0, 1, 2, 3, —–,9) to Binary number system(0 and 1). Read more about C Programming Language .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters