Wap to print Fibonacci series
code:
Showing posts with label Control Structures. Show all posts
Showing posts with label Control Structures. Show all posts
Wednesday, October 19, 2011
Wednesday, September 28, 2011
Program: To find whether the entered character is vowel or a consonant
A program in C++ to find the whether the entered character is vowel or a consonant (not-vowel) , using the control statement Switch
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 .
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 .
Subscribe to:
Posts (Atom)