Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program in c++ to generate imp

z y x w v w x y z
z y x w x y z
z y x y z
z y z
z

Answer Posted / gayatri chhotray

#include<iostream>
using namespace std;
int main()
{
int i;
int j;
int n = 118;
char c;
for(i = 1; i <= 5; i++)
{
for(j = 122; j >= n +(i-1); j--)
{
c = j;
cout<<c<<" ";
}
for(j=j+2; j<=122; j++)
{
c = j;
cout<<c<<" ";
}
}
return 0;
}

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

an integer constant must have atleast one a) character b) digit c) decimal point

1031


What is #include math h in c++?

1095


Explain the operation of overloading of an assignment operator.

1173


What relational operators if statements in c++?

1180


What is stl containers in c++?

1051


Explain the use of this pointer?

1157


What does the nocreate and noreplace flag ensure when they are used for opening a file?

1119


what is upcasting in C++?

1189


Explain how to initialize a const data member.

1138


What is flag in computer?

1055


We use library functions in the program, in what form they are provided to the program?

1096


Why is the function main() special?

1100


What is the type of 'this' pointer?

1021


Explain what is class definition in c++ ?

1127


What does new do in c++?

1074