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
which topics are come from quizs
What are the fundamental differences between Engineering and Physics?
What type of questions are asked in interview?
WHAT ARE THE ADVANTAGE OF SYSTEM ENGINEER
an upper layer message is split into 10 frames each of which has an 80 percent chance of arriving undamaged.if no error control is done by the data link protocol,how many times must the message be sent on the average to get the entire thing through?
is built-in data-type are abstract data-types in java
I am some what lagging in talking English but i love to do job as an software engineer what will i do to improve my communication skills? please give me answer..........
hi, please send me "state bank of india", last 5 years question paper with answers to my mail id.
Prove that in a self-complementing code the sum of the weights must be 9?
How we calculate steam turbine governor linkage assembly?
what is the difference between core java and advance java
what is the formula/ ratio for hollow block? considering to a 40 kgs of portland cement.
Can one be shocked holding a wire carrying a very large current with a low voltage source?
what we have to say about hobbies,strong points,weak points
Please send me Sample papers National Informatics Centre (NIC) Programmer. I am giving this paper first time..so if any one have previous question papers send to manoj200.yadav@gmail.com. thnx in advance