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
How to work Air cooled and water cooled chiller?
Why is not creat swap partition in my system.
How will I MOve Comp-1 variable into next variable without using Move statement?
5S training documents
How to recyling of Expired Computer/Laptop,Mouse,CPU & Key Board (Warranty)?
what is software engineer
what is your experience with computer-aided design software.
why IT?
How to select the total numbers of fire extinguisher installed in a room ?
computer is male or female.....???
what is difference between shell commands and shell scripting commands or both r same?
whether we can implement VPN based on UDP? If yes then tell how? If no tell why not?
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
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
What is the Boundary value analysis and Equlance class partition for select * from emp