C program to print given numbers as a pyramid

Write a C program to print given numbers as a pyramid.In this program we use the simple for statements to produce the patterns.This program prints the following output,        1      232    34543  4567654567898765 Read more about C Programming Language . and read the C Programming Language (2nd Edition). by K and …

C program to convert a Binary number into its equivalent Decimal, Octal and Hexadecimal numbers.

C Program to convert binary number into its equivalent Decimal, Octal, and Hexadecimal representations. In this program we convert a binary number to decimal. Then convert that decimal number to octal and Hexadecimal equivalent. The program implements various functions to do the job. binary_to_decimal : Convert given binary number to it’s decimal equivalent decimal_to_octal : Convert from …

C Program to check the given number is Armstrong or not?

C Program to check the given number is Armstrong number or not?. Armstrong number is a number that is the sum of its own digits each raised to the power of the number of digits. Example: 153 = 1^3 + 5^3 + 3^3. Read more about C Programming Language . /************************************************************ You can use all …

C Program to check the given number is perfect or not.

C Program to check the given number is perfect or not?.  Perfect number is a positive integer that is equal to the sum of its proper positive divisors. example 6, divisor of 6 are 1, 2,3. Sum of divisors is 1+2+3=6. Read more about C Programming Language . /************************************************************ You can use all the programs …