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
what is difference betweeen operator overloading & operator overriding?
a steel bar 1' inch square 6' long is to be used as a column.ends are free to rotate put may not be displaced.stress is limited to 30,000 PSI
minimum percentage in B.E in(INFORMATION TECHNOLOGY) to be eligible for IES exam qualification and also for reserved categories.are IT engineers are eligible for giving IES exams? please reply soon.
I'm currently placed in Lahore Pakistan. where can i do Microsoft certification. let me know the best place to do.?
how am i supposed to convert a class program in C++ to Matlab? Do i also need to make classes in matlab too or I can do it without making classes???Can somebody help....
what is recursion in c language?
Explain force?
i want to do oracle certification..could any one pleas tell me what is the level 1 certification exam in oracle? how do we get dumps?
W.A.P to take input of an array and display the entered no. in dos.
There are three bucket...Apple,Orange and Apple+Orange....On each Bucket one of the following labels are there..'A','O','A+O'...all this labels are not correctly patched on Bucket..identify which bucket contains What? You can not see bucket..u can pick any number of fruit from any basket...???
why IT?
good morning! can u briefly explain the concept of syllolism and wat it mean?
what is the Relationship between quantity of Gas and capacity of AC machine in tonnage.
Hello sir i finished my BE computer 2009 batch. I'm not gud at programming like 0 knowledge and i'm not interested in it too . Except this programming field is anyother option to afford into a new one ??????? can anyone help me plz
1. what is the opportunity in hardware & networking in future? 2.how many courses r in networking that fulfill market requrment? 3.who is better for career MCSE or CCNA ,UNIX ?