Need a few simple assignments

Oct 16, 2011 at 7:15pm
I'm new to C++ programming and only want some help with project examples.Like assignments.

"Make a program that lets the user blablabla..."

A challenge that I can try to solve so I stay motivated.
Oct 16, 2011 at 8:04pm
Oct 17, 2011 at 8:20am
Thanks a lot! :)
Oct 17, 2011 at 8:43am
Ahh, very nice Branflakes. I'll get around to this when I finish my school assignments first.
:3
Maybe I'll also post my assignments @ the end of the semester too...

Edit: Hmm... little search yielded some results...
http://www.spoj.pl/problems/classical/ (click at top specifically c++)
http://www.daniweb.com/software-development/cpp/threads/67837
http://projecteuler.net/ (these look very interesting. for intermediate players I think.)
http://www.homeworktutoring.com/examples.shtml#PROGRAMMING (there's 2 examples here)
Last edited on Oct 17, 2011 at 8:54am
Oct 18, 2011 at 6:10am
Oct 18, 2011 at 8:03am
any body can help me to sovle this matter...

scenario: Based on the following data set, which are values from 0 - 100, write a program that will count the repetitions of data in the following data range:

1) 0 - 20

2) 21 - 40

3) 41 - 60

4) 61 - 80

5) 81 - 100

The data set is, points[20]={54,90,32,49,65,73,87,78,62,45,82,54,67,73,43,56,43,84,61,42}

Display the numbers on screen.

Display the frequencies on screen.

Create a second array sorted[20]. Duplicate the first array points[20] into sorted[20]. Implement a sorting algorithm to re-arrange the data values from the largest to the smallest.

Display the result on screen.

--please who is the master in programming help me to get that program...
thank a lots...
Oct 18, 2011 at 8:40am
It's very easy. Look up "integer division" and think on it for a minute.
Alternatively, use nested if's.

For sorting, look up the different sorting algorithms on wikipedia. I imagine the easiest is the BubbleSort, as you're probably not graded on efficiency.

Lastly, please don't hijack topics, especially when they're already marked as solved, and even more so when it's simply to ask people to make your homework.
Oct 20, 2011 at 4:16pm
btw thanks for your information...
may God bless you...
Topic archived. No new replies allowed.