# C Program to display Inverted half-pyramid using *

Problem Write a program in C to print Inverted half-pyramid using * as shown below.The program should take the number of rows as input. * * * * * * * * * * How to create and display Inverted half-pyramid pattern in C using * ? Output Abundantcode.com Coding samples Enter the limit : 4 * * * * * * * * *          …

# C Program to display half-pyramid using numbers

Problem Write a program in C to print  half-pyramid using numbers as shown.The program should take the number of rows as input. 1 1 2 1 2 3 1 2 3 4 How to create and display half-pyramid pattern in C using numbers? Output Abundantcode.com Coding samples Enter the No. of rows:4 1 1 2 1 2 3 1 2 3 4

# C Program to find if the input is a Armstrong Number or Not

Problem Write a program in C to find if a given number is Armstrong number or not. How to check if a number is a Armstrong number or not in C programming Language ? A given number is a Armstrong number of order n if abc… = an + bn + cn + … For example , 371 is a Armstrong number because the result…

# C Program to check if a number is Palindrome or not

Problem Write a program in C to check whether a given number is a palindrome or not. How to find if the number is a palindrome or not in C ? A palindrome is a number where the reverse of a number is equal to the original number. Here’s a program in C demonstrating how to do it. Output Abundantcode.com coding sample Enter a number:…

# C Program to display Prime Numbers between two numbers

Problem Write a program in C to display all the prime numbers between a range of 2 numbers. How to display prime numbers between a range of 2 numbers in C ? Output Abundantcode.com coding sample   Enter Lower limit :5 Enter Upper limit :20       Prime numbers between 5 and 20 : 5 7 11 13 17 19

# C Program to check if a input number is a prime number or not

Problem Write a program in C to check whether a number is a prime number or not. How to find if a number is a prime number in C ? A Prime Number is a number that is divisible by 1 and by itself. Some of the examples of the prime number are 2 , 3 , 5 etc. Here’s a program in C demonstrating…

# C Program to calculate the power of a number

Problem Write a program in C to calculate and display the power of a number. How to calculate the power of a number in C ? Output Abundantcode.com coding sample                                               Enter the base number: 2                                         Enter an exponent: 3                                              Answer = 6

# C program to reverse a number

Problem Write a program in C to display the reverse of a number. The below program takes the input from the user in the form of an integer number and uses the while loop until the number becomes o. How to reverse a number in C ? Output Abundantcode.com coding sample Enter a number: 786543 Reverse Number = 345687

# C Program to display the characters from A to Z

Problem Write a program in C to display all the characters from A to Z using Loop constructs. How to display Characters from A to Z using C Programming Language ? Output Abundantcode.com programming sample A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

# C Program to generate multiplication table

Problem Write a program in C to generate a multiplication table of a number entered by the user. How to generate a multiplication table for a input number in C ? Here’s a program that takes an input from the user and generates a multiplication table for it up to 10. Output Abundantcode.com’s Coding sample                                      Enter a Number: 12                                            12 * 1 = 12                                              12…