i want to make a program in which if we input 98765 than it give output as 9 8 7 6 5
please help me

You posted two threads without showing any effort. Ask us specific questions on HOW to solve a problem. Posting some code would help a lot.

here is the solution to ur question
#include<stdio.h>
#include<conio.h>
int main()
{int c;
for(c=9;c>=5;c--)
{printf("%d ",c);}}
this is one way to do the problem if its for only this no.......
for all numbrs ill send u the solution in next reply

commented: I agree with Aia -- and next time use code tags -7
commented: Stop by the forum rules and read them before posting again. -4

here is the solution to ur question

this is one way to do the problem if its for only this no.......
for all numbrs ill send u the solution in next reply

No it isn't -- it is the wrong solution. You better read the problem again.

i want to make a program in which if we input 98765 than it give output as 9 8 7 6 5
please help me

Hint: use mod operator % and division operator / in a loop