Maybe some can help me with a program....
Write a program that explores the seating patterns related to course performance by using an array of student scores. The program should do the following: Draw a seating chart of the classroom. Show where people sit and use color coding on the seats to indicate the student's current level of performance. The color-coding scheme should be as follows: Red—For students who are below the class mean Yellow—For students who are at or above the mean but below 90 percent Green—For students who are in the top 10 percent The program should use the following: A two-dimensional array of student scores instead of a one-dimensional array. The two-dimensional array of scores having the same number of rows and columns as the arrangement of seats in the classroom.
Can you help me to write this out please?
What programming language?
C++
I'm afraid I don't know much if any C/C++, sorry.
that's okay at least you were honest
I'll help you with the designing stage. You first probably want to write a function that displays the seating chart.
how do you do that?
What have you learned about C++ so far?
not much i'm afraid I just started this course
I know it is similar to C#
The syntax is kind of the same, but everything else is pretty different.
okay
sorry if it takes me a little bit to respond I haven't had but like a half an hour of sleep today
Do they want an actual graphical program, or do they want it in the console?
I am thinking an actual graphical
but I could be mistaken
There are ways to change text colors in the console/terminal, but it may or may not work properly for everyone who runs it.
What exactly have you learned about C++?
true so lets try it and see what happeneds
Like I said not a whole lot so far
Did you enter the course in the middle of it? Have you missed anything they've taught?
We learn by using a student handbook on the class site and the instructor has a little bit of help in showing us what we are supposed to do sometimes!
How far have you gotten in the handbook, like what Chapter Name?
After some reading, I think you need to write a graphical program with the chart and colors. Anyways here is a simple guide to follow, look up on how to do things you don't know how to do yet. 1. Write the main loop/function that has the student data. 2. Write a function that deals with all the graphical setup, etc. 3. Write a function that displays all the seats on the chart. 4. Write a function that goes through each student in the student data and colors their seat based on the information you gave me (grade determines the color of each seat. If necessary (I suggest as a last resort since you will be writing the same program twice in two different languages), find a tool that you can use to help you visualize what you need to write or use another programming language you already know how to use and create it in that then figure out how you would write the code in C++. I would use Scratch ( http://scratch.mit.edu ) to write the first version so I know what functions and stuff I would need to write it in C++..
Join our real-time social learning platform and learn together with your friends!