Showing posts with label If-Else Statement. Show all posts
Showing posts with label If-Else Statement. Show all posts

Wednesday, October 19, 2011

Program:To check if a character is vowel or not (using if-else Statement)


Program: To find greatest Of Three Using nested If-else Statement


CODE:

Wednesday, September 14, 2011

Program: WAP To Check A Number is Armstrong or Not


Armstrong number:
Also known as narcissistic numbers, Armstrong numbers are the sum of their own digits to the power of the number of digits. As that is a slightly brief wording, let me give an example:

153 = 1³ + 5³ + 3³

Now here is the C++ programming to check whether a number is Armstrong or not .