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

100,1,99,2,98,3...... write a C pgm to generate this series
with user input for the number of nos. to b displayed..

Answer Posted / vishwaranjan singh

#include<stdio.h>
#include<conio.h>
void main()
{
int i=0,j=0;
getch();
for(i=100,j=1;i<0;i--,j++)
{
printf("%d-%d-",i,j);
}
clrscr();
}

Is This Answer Correct ?    4 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a query for divide a table into two subtable?

2103


which field is comparitively very best , today and in future while considering the following : ELECTRONICS [OR] NETWORKING

1877


can u tell me placement peoceduers and placemnt format of hpcl.

1952


1. Describe a time when you anticipated potential problems and developed Preventive measures.

2244


anyone send me aptitude and technical placement paper of Hewitt

1858


How can I boldly face the interview? Request:I am eagerly waiting for your replay.

3068


c ka base kya hota hai? what is communication?

5291


1) There is a circular pizza with negligible thickness that is cut into 'x' pieces by 4 straight line cuts. What is the maximum and minimum value of 'x' respectively 2)A ship leaves on a long voyage. When it is 18 miles from the shore, a seaplane, whose speed is 10 times that of the ship is sent to deliver mail. How far from the shore does the seaplane catch upon with the ship? 3) If the distance traveled (s) in time (t) by a particle is given by the formula s = 1+ 2t+3t2+4t3, then what is the distance traveled in the 4th second of its motion? 4)3 men finish painting a wall in 8 days. Four boys do the same job in 7 days. In how many days will 2 men and 2 boys working together paint two such walls of the same size?

3906


how many clusters are generated by k-means algorithm?

1608


WHY SHOULD I HIRE YOU

2092


I want the syllabus of Section Enginner(Signal & Telecom) of RRB Exam

2890


what in 4th and 5th normal form ??

2231


I am an Electrical engineering ( electrical back round ) ,can i get hvac Water system design details to easy understand ,i am working past 15years in Pharmaceuticals company with Engineering depart.

1402


i want questions only on code part like general logics in c and java

1885


Name all parameters for virtual private networks. what are different metrics of virtual private networks

2079