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<<" ";
}
cout<<endl;
}
return 0;
}

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How one would use switch in a program?

1117


Define a pointer to a data member of the type pointer to pointer?

1037


Is java a c++?

1104


Why is c++ awesome?

1085


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

1106


Can a new be used in place of old mallocq? If yes, why?

1144


What is string in c++ programming?

1278


What is the difference between a template and a macro?

1116


What is abstraction with real time example?

1206


Differentiate between an inspector and a mutator ?

1291


Can c++ do everything c can?

1158


How would you call C functions from C++ and vice versa?

1237


Is c++ vector a linked list?

1045


Can notepad ++ run c++?

1151


Do you need a main function in c++?

1166