answersLogoWhite

0


Best Answer

It is too easy................

//Program to print numbers vertically

#include<stdio.h>

#include<conio.h>

void main()

{

int last_no;

int i;

clrscr();

i=0;

printf("Enter your last num.I will print 0 to that number");

scanf("%d",&last_no);

printf("\n");

while(i>last_no)

{

printf("%d\n",i);

i++;

}

getch();

}

//poo.papule

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: A program prints vertically a numbers in c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a c program that prints a box an oval an arrow and a diamond?

You first learn how to program in C.


How do you write a program which reads a list of ten numbers and print the list in reserve order in c program?

The simplest way is probably to read the numbers into an array and then prints each element of the array starting at the last one and moving backwards.


Dry run table in flow-chart?

/* my second program in C++ with more comments */ #include &lt;iostream&gt; using namespace std; int main () { cout &lt;&lt; "Hello World! "; // prints Hello World! cout &lt;&lt; "I'm a C++ program"; // prints I'm a C++ program return 0; }


Program in c to develop an algorithm that prints the n value of algorithm?

reymond rillera reymond rillera


How do you write a c program to prints name?

Write a c program that reads your first name and surname when you enter them. Each part of your name should not be more than 12 characters. Finally, have the program display your full name.


How do you write a C plus plus program that will display the first 10 positive prime numbers?

By learning how to program on C+.


How do you write a program in objective c numbers 1-100 prime numbers?

fdsgfhgdfhgdf


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


Write a 'c' program to fine a largest of three numbers?

largest of a, b, c :a > b ? a > c ? a : c : b > c ? b : c


Write a program that read phrase and print the number of lower-case letter in it using function of counting?

write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program


C program which accepts in order and preorder traversal outputs of a binary tree as input and prints the corresponding binary tree?

any body can help on this ?


A program c plus plus on automorphic numbers or not?

how to write a program that counts automorphic number from 1 to 999