| | |
Please help. Give me a solution
![]() |
•
•
Join Date: Feb 2008
Posts: 8
Reputation:
Solved Threads: 0
Hi to everyone. It's my first post here and I'd like to get some help.
A friend of mine has 2 (simple for you) problems to solve and she doesn't have a clue (and nether do I).
Prob 1.) Write a code in C++ (visual) that reads from the keyboard integer numbers and saves them at a table (of integer numbers) of two dimensions with n rows and n columns.
Next it should do the folowings:
a) Show the contents of the table on screen
b) Find the biggest number of each row
c) Find the smallest number of each column
d) Find the quantum of the odds and of the evens
e) At the end of the program, it should show all the previous results on screen
Prob 2.) Write a code in C++ (visual) that reads from the keyboard integer numbers and saves them at a table (of integer numbers) of two dimensions with n rows and n columns.
Next it should do the folowings:
a) Show the contents of the table on screen
b) Sort the evens of each row from the smallest to the biggest and the odd of each row from the biggest to the smallest.
e) At the end of the program, it should show the previous result on screen
Shes only knows the basics and "do-while" and "for".
If anyone could help me, I'd be grateful. Please, please, please!!
Thank you in advance.
A friend of mine has 2 (simple for you) problems to solve and she doesn't have a clue (and nether do I).
Prob 1.) Write a code in C++ (visual) that reads from the keyboard integer numbers and saves them at a table (of integer numbers) of two dimensions with n rows and n columns.
Next it should do the folowings:
a) Show the contents of the table on screen
b) Find the biggest number of each row
c) Find the smallest number of each column
d) Find the quantum of the odds and of the evens
e) At the end of the program, it should show all the previous results on screen
Prob 2.) Write a code in C++ (visual) that reads from the keyboard integer numbers and saves them at a table (of integer numbers) of two dimensions with n rows and n columns.
Next it should do the folowings:
a) Show the contents of the table on screen
b) Sort the evens of each row from the smallest to the biggest and the odd of each row from the biggest to the smallest.
e) At the end of the program, it should show the previous result on screen
Shes only knows the basics and "do-while" and "for".
If anyone could help me, I'd be grateful. Please, please, please!!
Thank you in advance.
Last edited by thodragon; Feb 9th, 2008 at 4:49 am.
You must have missed reading the Rules as requested when you registered, as well as the post titled Read Me: Read This Before Posting at the top of the forum...
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
•
•
Join Date: Feb 2008
Posts: 8
Reputation:
Solved Threads: 0
I've just read the "read me..."
I know I'm wrong and I apologize. But I'm just asking for help. This friend of mine is studying chemistry in Greece. In chemistry, there's no need to know C++, but in greek university seems that knowing c++ is helpful in chemistry!!! Who knows!! Anyway, the only thing i/she wants is just to pass the class so that she'd be able to continue. Nothing more.
If anyone could help me, please do.
Thank you and I'm sorry.
I know I'm wrong and I apologize. But I'm just asking for help. This friend of mine is studying chemistry in Greece. In chemistry, there's no need to know C++, but in greek university seems that knowing c++ is helpful in chemistry!!! Who knows!! Anyway, the only thing i/she wants is just to pass the class so that she'd be able to continue. Nothing more.
If anyone could help me, please do.
Thank you and I'm sorry.
I am only new here, but is really surprising (and saddening) how many people just post up their assignments hoping someone else will do the ALL the work.
As an employer of IT graduates I get to read a lot of CV's an interview a lot of candidates. And to be frank the majority of them are rubbish and it is easy to see why.
It only takes 5 mins in an interview to work out who are the people who 'don't have a clue'. So while you might pass your assignment, by copying the work of others, ultimately you still won't get a good job in IT. The sham will be exposed during the first few interview questions.
For a laugh I ask the computer science graduates how a computer works. I get answers like, 'you push the power button, then type on the keyboard to make it work'. Roughly the same answer a 10 year old would give. Needless to say some of the interviews are very short and end in tears.
So better to either make half an effort to study the material, or give up now and do someone that is more suited to your skills.
As an employer of IT graduates I get to read a lot of CV's an interview a lot of candidates. And to be frank the majority of them are rubbish and it is easy to see why.
It only takes 5 mins in an interview to work out who are the people who 'don't have a clue'. So while you might pass your assignment, by copying the work of others, ultimately you still won't get a good job in IT. The sham will be exposed during the first few interview questions.
For a laugh I ask the computer science graduates how a computer works. I get answers like, 'you push the power button, then type on the keyboard to make it work'. Roughly the same answer a 10 year old would give. Needless to say some of the interviews are very short and end in tears.
So better to either make half an effort to study the material, or give up now and do someone that is more suited to your skills.
•
•
Join Date: Feb 2008
Posts: 8
Reputation:
Solved Threads: 0
•
•
•
•
I am only new here, but is really surprising (and saddening) how many people just post up their assignments hoping someone else will do the ALL the work.
As an employer of IT graduates I get to read a lot of CV's an interview a lot of candidates. And to be frank the majority of them are rubbish and it is easy to see why.
It only takes 5 mins in an interview to work out who are the people who 'don't have a clue'. So while you might pass your assignment, by copying the work of others, ultimately you still won't get a good job in IT. The sham will be exposed during the first few interview questions.
For a laugh I ask the computer science graduates how a computer works. I get answers like, 'you push the power button, then type on the keyboard to make it work'. Roughly the same answer a 10 year old would give. Needless to say some of the interviews are very short and end in tears.
So better to either make half an effort to study the material, or give up
now and do someone that is more suited to your skills.
But, first this isn't my assignment, but a friend's of mine.
Secondly, she is NOT going to be an IT (she only knows how to use a pc), but she'll graduate with a chemistry degree. She doesn't even know why she should study c++, but she has to. Even the professor she has tryies to help them but she doesn't have a clue about c++. That's why she is asking for help.
Anyway, it's your call.
•
•
•
•
I agree with you.
But, first this isn't my assignment, but a friend's of mine.
•
•
•
•
She doesn't even know why she should study c++, but she has to.
•
•
•
•
Even the professor she has tryies to help them but she doesn't have a clue about c++. That's why she is asking for help.
No, it's her call. Wouldn't be better to have her post, instead of you? After all, who has the problem? Maybe she can follow the rules better than you since she has the code.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
•
•
•
•
but she'll graduate with a chemistry degree...
At the time I thought it was dumb, but 20 years on, I don't regret doing it. It is useful from time to time.
Except for philosophy, which really was dumb
All science students should learn some computing IMHO. They'll use it.
•
•
Join Date: Feb 2008
Posts: 8
Reputation:
Solved Threads: 0
•
•
•
•
Exactly. It's her assignment, not ours. We are not going to do her work for her. We don't get the grade.
No, she's not asking for help. You're asking us to do it for her. That's not help. That's charity.
Next thing is to send me your bank account!! I asked for help. Do you know what does the word "help" mean? What am I saying? You are mr smart guy, of course you know.
I didn't make you to do it. I asked from all of you, very very politely i believe, to help me do it. If you don't want to help, just don't. Just don't brake my balls, ok?
•
•
•
•
So, it's a requirement for her to study C++? And you feel that's stupid so it's better to have us do her work? Think again. A requirement is a requirement. If she can't do it, change to a school that doesn't have that requirement.
Oh, sorry, I forgot. You are the smartass of the forum, so you absolutely have to say something, even if you don't know why.
•
•
•
•
No, it's her call. Wouldn't be better to have her post, instead of you? After all, who has the problem? Maybe she can follow the rules better than you since she has the code.
And as for the rules. I am member in lots of forums for many years. I have never done anything that is braking the rules. I know I've done it know, in purpose, and when I was told (it's the second post), I apologized politely and just asked if anyone could help me.
I't the first time in my life that I speak/write to someone in a forum in a bad way, and for that I apologize from all of the other users, but I can't stand ανυ wise guy talking to me like this. You don't know me, you should respect me, and you should behave better. I'm not the only one braking the rules here you know.
Anyway, I spent much more time for you than you even worth, it's time to go.
Thank's for being a dick. At least you are real, you are yourself.
Goodnight.
•
•
Join Date: Feb 2008
Posts: 8
Reputation:
Solved Threads: 0
•
•
•
•
I had to do organic and inorganic chemistry to get a degree in computer science (and maths, physics, astronomy and philosophy).
At the time I thought it was dumb, but 20 years on, I don't regret doing it. It is useful from time to time.
Except for philosophy, which really was dumb![]()
All science students should learn some computing IMHO. They'll use it.
And i really can't understand, where would c++ help her as a chemical!!
Anyway. First problem is solved. It took me a day for something that most of you would spend just a few minutes
, but at least I've done it. Now I have to do my best for the second one.Thank you all for your time and have a good night.
•
•
•
•
"You don't get the grade", "that's charity".
Next thing is to send me your bank account!! I asked for help. Do you know what does the word "help" mean? What am I saying? You are mr smart guy, of course you know.
I didn't make you to do it. I asked from all of you, very very politely i believe, to help me do it.
•
•
•
•
Hey Einstein, as I wrote before, she barely knows how to use a pc,
•
•
•
•
And as for the rules. I am member in lots of forums for many years. I have never done anything that is braking the rules. I know I've done it know, in purpose, and when I was told (it's the second post), I apologized politely and just asked if anyone could help me.
I't the first time in my life that I speak/write to someone in a forum in a bad way, and for that I apologize from all of the other users, but I can't stand ανυ wise guy talking to me like this. You don't know me, you should respect me, and you should behave better. I'm not the only one braking the rules here you know.
•
•
•
•
Thank's for being a dick.
Last edited by John A; Feb 9th, 2008 at 6:39 pm.
"Technological progress is like an axe in the hands of a pathological criminal."
All my posts may be freely redistributed under the terms of the MIT license.
All my posts may be freely redistributed under the terms of the MIT license.
![]() |
Similar Threads
- We only give homework help to those who show effort (Computer Science)
- Simple Problem give me solution (C)
- Simple solution to database (C++)
- EXCITING PROBLEM... Please Help and give me a SOLUTION 2 this Problem (C++)
- solution for not all code paths return a value for bool (C#)
- [Help] PC Shuts Down / Reboots - Pls give solution! (Troubleshooting Dead Machines)
- SVCHOST Error (Windows NT / 2000 / XP)
- IE won't let me access threads. Could someone email me a solution please? (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: how to control a stepper motor using a microcontroller programmed at c++
- Next Thread: String display problem
Views: 1748 | Replies: 15
| Thread Tools | Search this Thread |
Tag cloud for C++
6 algorithm array arrays assignment beginner binary c++ c++borland c/c++ calculator char class classes code compile compiler constructor conversion convert count delete dll dynamic encryption error file files filestream forms fstream function functions game givemetehcodez graph graphics gui homework iamthwee image input int lazy link linked-list linker list loop loops math matrix member memory newbie number object objects opengl output parameter path pointer pointers problem program programming project python random read reading recursion recursive reference return search server sort spoonfeeding string strings struct student studio template templates text time tree variable vc++ vector video visual win32 window windows winsock wxwidgets






