Program : Equilateral Triangle empty from inside
Program to create a triangle like only triangle outline
Check out Progra...
Jan 28, 2012
Jan 11, 2012
Using Switch & break Statement
Using Switch & Break Statement
Switch statement is used instead of if statement using if statement multiple time can replace with switch and this make program short.
Break statement is used break that code proceed next like for loop i set to run 5 time and i write break it only run 1 time it skip braces part and continue to rest of code. Its used in loops and switch.....
Jan 7, 2012
Program: To check given character is Alphabet, Digit or any Other
Program: To check given character is Alphabet, Digit or any Other
#include<iostream.h>#include<conio.h>//check given character is alphabets, digit or any other character...
Program : To Accept 5 Integer and Print Larger one
Program : To Accept 5 Integer and Print Larger one using if statement
In this program i use if statement to check the largest no.
check the program...
Program : Create Equilateral triangle
Program : Create Equilateral triangle
To make an Equilateral triangle we need total three loop two loop inside one loop. It will print Equilateral Triangle using word xx
Check Out Program for Better Understand...
Jan 5, 2012
Program :Make Alphabet Triangle
Program :Make Alphabet Triangle
In This Program I use Nested Loop To Make a Alphabet Triangle check out Program.
...
Using Nested Loop
Using Nested Loop
Nested Loop is using loop inside a loop like for loop is under for loop for example:
for(int i=0;i<10;i++)
{for(int j=0; j<4; j++)
{cout<<i;}
...
Jan 1, 2012
Program : Show Sqaures of Number upto n terms
Program : Show Sqaures of Number
This program first take input from user that an integer value and show the squares of term upto the number that enter by user like if i enter 2 then it display square of 1 and 2 and if i enter any number its show squares upto that term.....
Introduction to Loop
Introduction to Loop
Loop means to repeat again and again. In C++ there are three loops that While loop, do-While loop & For loop. In C++ loop continues while a condition is true. When condition becomes false, the loop ends and control passes to the statements following the loop....
Subscribe to:
Posts (Atom)