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 kumar 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 ?    14 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to work Air cooled and water cooled chiller?

1713


Why is not creat swap partition in my system.

1717


How will I MOve Comp-1 variable into next variable without using Move statement?

1995


5S training documents

2976


How to recyling of Expired Computer/Laptop,Mouse,CPU & Key Board (Warranty)?

1867


what is software engineer

2030


what is your experience with computer-aided design software.

1970


why IT?

1935


How to select the total numbers of fire extinguisher installed in a room ?

2294


computer is male or female.....???

1820


what is difference between shell commands and shell scripting commands or both r same?

2007


whether we can implement VPN based on UDP? If yes then tell how? If no tell why not?

1961


Write a shell script to delete all files present in a directory “dir1”. Any error, if it occurs while carrying out this operation should be stored in a file errorlog

2059


can anyone help me with an article or a few pointers on what are the industry expectations from Fresh engineers in today's market scenario

1722


What is the Boundary value analysis and Equlance class partition for select * from emp

2158