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...

Program to print 0 to 9 in cross order

Answer Posted / aakash dang

#include<iostream.h>
#include<conio.h>

void main()
{
int x,y;
x=1,y=1;

for(int i=0;i<=9;i++)
{
cout<<i;
gotoxy(x,y);
x++;
y++;
}
getch();
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is byval and byref? What are differences between them?

2232


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2326


How long to learn object oriented programming?

1108


What is abstraction and encapsulation?

1033


What are the advantages of polymorphism?

1043


What is coupling in oop?

1044


Why interface is used?

1033


When not to use object oriented programming?

1124


what are the realtime excercises in C++?

2854


How many human genes are polymorphic?

1079


What is polymorphism used for?

1079


What is interface? When and where is it used?

2177


What is the highest level of cohesion?

1067


What are main features of oop?

1136


What are the benefits of oop?

1275