Click here to Skip to main content
16,021,172 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more: (untagged)
Write a program in C + + Array.
The user enters the five numbers and arranged
Posted
Comments
[no name] 12-Jul-10 13:36pm    
If this is homework then we do not do it. If it is a real question then please reword it to make your problem clear.
Sandeep Mewara 12-Jul-10 13:47pm    
Reason for my vote of 1
Ok, done! But please dont ask me to share it with you!!! Thanks.

Try first and then post specific issues...
TheyCallMeMrJames 12-Jul-10 14:59pm    
I did it too!
Sauro Viti 12-Jul-10 16:07pm    
Ok, this is not homework... But what is the question? You should show us what you have done and what doesn't work as you expected!
Christian Graus 12-Jul-10 17:10pm    
Reason for my vote of 1
I'm sorry, but if this is not homework, it sure sounds like it. You posted a question, copied from your homework. You didn't explain what you wanted, what you had tried, or why you need this. You need to talk to your teacher, not ask us to help you cheat. If you tried to do your homework and asked for specific help, that would not be cheating. Posting your question and lying about it being homework, is cheating.

1 solution

<pre lang="xml">#include <iostream.h>
int main()
{
int x[5];
cin>>i
for (i=0;i<+5.i++)
cout <<x[i]<<endl;
}




مرحبا
لقد حاولت بحل السؤال ولكن هناك خطا فيها
ملاحظه : انا لا اجيد اللغه الانجليزيه : :( ) ارجو مساعدتى
 
Share this answer
 
Comments
Smithers-Jones 14-Jul-10 10:29am    
Reason for my vote of 1
This is an english-speaking website, so use that language. Using any other language, you will just disgruntle those who might help you (provided you ask a proper question) and decrease the chances of getting an answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900