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
can i learn ad. java without learned core java? java is best or .net is best for summer training?
what is need of interface. what is the diff b/w interface and abstract class
what books to prepare for atc please
how to prepare for an written exam for any type of company?
Write a test case plan for a typical banking application which involves functionalities like Balance enquiry, deposit, fund transfer etc. Make your assumptions and mention the same in your answer sheet.
i need to know abt renault nissan company and the rounds and type of questions asked by today
Hi friends..cud any help to get QC 9.2 trial..i tried with HP site but did'nt got it..please help me out
Q1 Design a webpage for a hotel which displays all the information of the hotel such as rooms available, facilities, and packages along with rate list. Apply the different tags available to give it a good style.
how to count number of 3's in 100
Do you have any tips for using 3G phones?
Why is using C language
the controller valve fisher error: travel ??? not output input ok
why dijkstra algorithm not used for negative weighted edges graph??
I need to know the process to add 100 tapes in ATL. Ho to inicialize them to the system? How is all the process i need to follow> Thanks
how bluetooth works?what is principle behind in it?