you really need to work through some of the tutorials on this site. You aren't doing anything with these if's. In addition I see no sorting logic at all.
On top of that, you are writing this in C and not C++.
Please help me... this is not working... I want to create a program which creates an ascending order by input of 3 integers..... HELP!!
The worst way to ask a question.
at least you used code tags
What is not working?
If you compile errors, then post them here, verbatim.
Never mind, I have already done it for you:
3:11: error: '::main' must return 'int' In function 'int main()':
6:12: error: 'clrscr' was not declared in this scope
22:26: warning: format '%d' expects a matching 'int' argument [-Wformat=]
22:26: warning: format '%d' expects a matching 'int' argument [-Wformat=]
22:26: warning: format '%d' expects a matching 'int' argument [-Wformat=]
24:11: error: 'getch' was not declared in this scope
When you use scanf, make use of it's return value to see that it worked, otherwise you are asking for trouble.