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
what is a query for divide a table into two subtable?
which field is comparitively very best , today and in future while considering the following : ELECTRONICS [OR] NETWORKING
can u tell me placement peoceduers and placemnt format of hpcl.
1. Describe a time when you anticipated potential problems and developed Preventive measures.
anyone send me aptitude and technical placement paper of Hewitt
How can I boldly face the interview? Request:I am eagerly waiting for your replay.
c ka base kya hota hai? what is communication?
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?
how many clusters are generated by k-means algorithm?
WHY SHOULD I HIRE YOU
I want the syllabus of Section Enginner(Signal & Telecom) of RRB Exam
what in 4th and 5th normal form ??
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.
i want questions only on code part like general logics in c and java
Name all parameters for virtual private networks. what are different metrics of virtual private networks