These Examples are a little extension of basic programs these are useful for making large programs
Number Operation(operation on number without using array)
- Decimal to binary conversion
- Converting a floating point number into integer
- Hexadecimal to decimal number conversion
- Counting numbers of ones in binary representation of an integer
- Printing a number into Different Base
- Printing last digit of floating part of a floating point number
- Calculating x^n without using recursion
- Calculating x^n using recursion
- Calculating factors of a number
- Write a recursive function to calculate ((((a^b)^b)^b)^b)^b…. upto n times..
- Finding second largest number entered without storing number
- Perfect number
- Prime number using recursion
- Printing Lucas number
- Armstrong number
- Searching a digit in an integer
- Searching a integer in another integer
- Square root of any number using Babylonian method
- Printing ordered numbers
- Sum of digit using recursion
- Sum of digit of an integer using iterative method
- Contra-harmonic mean
- Printing co-prime pairs
- Printing palindrome number without using array
- Counting of positive and negative numbers entered without storing them
- Rounding off floating point numbers
- Perfect number
- Checking weather a digit exist in a number or not
- Calculating GCD of two numbers
- Removing all Zero from a given number
- Checking of Amical Pair
- Separating integer and floating part of a number
- Decimal to binary conversion using recursion of an integer
Functions
- Function value of the function f(x)=x^3+x^2/2+2/x^2
- Calculating Sum of a series F(x) = 1 + 2/x + 3/x^2 + 4/x^3 +...
- Value of Sine using Recursion (Taylor's theorem)
- Sum of harmonic series
- Temperature Conversion
- Evaluate a function F(x) = 1 + 2/x^1 + 3/x^2 + 4/x^3 +...
- Roots of Quadratic Equation
- Area of circle
- Program to calculate the distance between two points
- Equation of straight line passing through two points
- Calculating nCr using recursion
- Displaying ansii code of a character
- Calculating SGPA of a Semester
- Removing all Zero from a given number
- Printing Series 2, 1, 3, 4, 7, 11, 18 up to n terms
- Printing a number into Different Base
- Checking of Amical Pair
- Checking weather a year is leap year or not
- Calculatinf solution of an equation using Bisection Method
Graph
Array(moderate program of using array)
- Separating positive and negative numbers maintaining the relative order same
- Checking of palindrome string
- Printing pascal triangle of given size
- Reversing an array using recursion
- Printing a string in reverse order using recursion
- Finding maximum by recursion
- Removing duplicate elements from an array
- Finding maximum element in diagonal of a metrics
- Transpose of metrics
- Sum of array using pointer
- Removing duplicate elements From an array
- Calculating number of vowels in an string
- Printing Floyd triangle
- Circulating an array
- Write a Function to store unique elements of one array into other array
- Checking of Equality of two Metrics
- Finding Number of White-spaces in a line
- Finding Unique Element in an Array
- Finding Last Letter of a Line by Recursion
- Reverse an array of characters using recursion
- Reversing an array of integers without using recursion
- Equality of strings using recursion
- Checking for equality of two strings without recursion
- Starting address of words in a line
- Finding out SADDLE point