Showing posts with label Control Structures. Show all posts
Showing posts with label Control Structures. Show all posts

Wednesday, October 19, 2011

Program: To print Fibonacci series


Wap to print Fibonacci series
code:

Program:To print the table of number in c++


To print the table of a number
COde:

Program: Multiplication of Matrices


Multiplication of 3x3 matrices

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:

Program:To Check number is even



CODE:

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 .