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
What is a char in c?
what are the 10 different models of writing an addition program in C language?
What is new line escape sequence?
What is 2 d array in c?
What is a pointer in c plus plus?
Is null always equal to 0(zero)?
What does p mean in physics?
Write a program to swap two numbers without using third variable?
What is the best way to store flag values in a program?
What are the different file extensions involved when programming in C?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
What are different storage class specifiers in c?
Explain function?
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
What is floating point constants?