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 / gyanaranjan patra
#include<stdio.h>
void main()
{
static int a=100,i,b=1;
for (i=1;i<=100;i++)
{
printf("%d %d ",a,b);
a=a-1;
b=b+1;
}
}
// this is the simpler one try it;;;;.. ...
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
is there eligible for computer science engg students to write exams and how much percentage we want to attempt exam based on degree
what we have to say about hobbies,strong points,weak points
What is Symbian.?
which type of casting enforces type safety
how can i install windows-xp operating system in single time to 50 computersconnected in a LAN.
Write a Java program that takes an integer from the user and extracts and displays each digit of the integer in English. So, if the user types in 932, the program will display nine three two. [Use SimpleInput class]
How can I boldly face the interview? Request:I am eagerly waiting for your replay.
what should i say in the interview if interviewer asks me "why did you choose IT instead of your core group?"
I have got one problem .I initially have got windows vista in my computer but now I installed linux UBUNTU operating system into my computer .For this i first format D: drive and got installed finely there and restart , when it boots there there were two options vista and ubuntu .But the problem is that when i choose vista it opens but screen seems to be dark only mouse pointer sees in the screen and no more windows appeared . But when i choose ubuntu it opens and asks for username and password .But i don't know these things. But linux is freeopen software , why it asks userename and password ? Now i am unable to use my computer ,i installed lunux without partioning the drive. Plz give me the solution The computer configuration of my computer is 80 GB harddisk, 1 GB RAM.3GHz speed.
What are the frequently asked technical engineer ques?
IS THE SAMPLE POINT OF LPG SPHERE TANK PEFOR OR AFTER BUMP?
What is the procedure for taking leave while detecting Epf and Esi?
can oracle driver be directly connected with odbc driver??
I have Job A and Job B in jcl. I want to trigger Job B from Job A. Please advise.
what is your weaknesses