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 C++ program without using any loop (if, for, while
etc) to print numbers from 1 to 100 and 100 to 1;

Answer Posted / balaji.k

#include<stdio.h>
#include<conio.h>
void main()
{
clescr();
int i,chl,start;
printf("enter the number from 1 to 100\n");
scanf("%d",ch);
else
go to start
start=1 to 100;
else
go end
exit(0);
}

Is This Answer Correct ?    3 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

1153


Explain how can a program be made to print the name of a source file where an error occurs?

1249


What is array of structure in c programming?

1332


What is difference between structure and union with example?

1121


difference between object file and executable file

6801


What are the advantages of union?

1120


How will you delete a node in DLL?

1338


What is the difference between a free-standing and a hosted environment?

1193


how to create duplicate link list using C???

2603


What is the scope of local variable in c?

1203


Why is c called a structured programming language?

1333


What Is The Difference Between Null And Void Pointer?

1333


Can a pointer be volatile in c?

1044


What is c standard library?

1271


Explain the use of bit fieild.

1198