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 get some win vista notes
what is the working of tcp/ip?
am a textile eng. frombut with major of my course including chemical eng, subjects, can i too apply to the co.?
to acheve the IP 65 protection class does it is mandatory to apply silicon grease?
am looking for ms,i got ielts score 5.5,and i dont have english score 60 in any any year.tell me can i get offer lettr from any university.is i am elegible..?
How we calculate steam turbine governor linkage assembly?
what is different between static block and public static void main??
W.A.P to take input of an array and display the entered no. in dos.
I am looking for NIC Scientific Officer / Engineer-SB (Programmer)Sample papers or any portion of questions/ syllabus plz, send me on sengupta.pranab@gmail.com. Regards PRANAB
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...???
can i learn ad. java without learned core java? java is best or .net is best for summer training?
who is your role modal give in few sentances
What experience have you had in working with field forces?
What is the meaning of "co relation" and what is the value of "co relation" in the performance testing environment.
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.