Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program to display numbers from 1 to 10 and 10 to 1?

Answer Posted / sureshmca

#include<stdio.h>
void main()
{
int num,i;
for(num=0;num<=10;num++)
{
printf("%d",num);
}
}

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a char in c?

927


what are the 10 different models of writing an addition program in C language?

1838


What is new line escape sequence?

1262


What is 2 d array in c?

955


What is a pointer in c plus plus?

1215


Is null always equal to 0(zero)?

988


What does p mean in physics?

986


Write a program to swap two numbers without using third variable?

1245


What is the best way to store flag values in a program?

1005


What are the different file extensions involved when programming in C?

1201


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3453


What are different storage class specifiers in c?

1037


Explain function?

1033


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

3000


What is floating point constants?

1078