| | |
Something People Should Look At BEFORE Posting...
![]() |
I love this little thing, and it makes a lot of sense.
if ( $clue eq 'none' ) { read ( handbook | faq | man | others ) && search ( whatis | lists | forum | google ) } if ( $answer == 0 ) { post->question }
if ( $clue eq 'none' ) { read ( handbook | faq | man | others ) && search ( whatis | lists | forum | google ) } if ( $answer == 0 ) { post->question }
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
•
•
Join Date: Apr 2004
Posts: 1
Reputation:
Solved Threads: 0
I cannot get the address line on internet explorer. Using Juno have to go through search. I am also using hotmail. it comes up in Spanish. When I click on Coreo it everts to English. It happeened suddenly Canot pinpoint anything.
I am using Windows 98 secnd edition my microp[rocessoe is MMx233
Where di I look for areply
Thank you
I am using Windows 98 secnd edition my microp[rocessoe is MMx233
Where di I look for areply
Thank you
nah it doesnt eliminate the need for forums jst for answering the same questions over and over and over. and for answering questions that could have been found really easily with a quick google search
•
•
Join Date: Jul 2004
Posts: 6
Reputation:
Solved Threads: 0
Design and write a C++ program for the problem given below. Apply the rules of good programming style by making your program modular, and using parameters and local variables in subprograms or functions. Add comments where necessary for each function. Use meaningful variable names. Your program should be user friendly.
A grade 12 class wrote a test in information technology which counted 50 marks. Their teacher wants to find out how many pupils got a mark between 0 and 49 percent (i.e. how many pupils failed), and how many got a mark of 50 percent and more (i.e. how many pupils passed the test). He also wants to determine the average mark of those who failed and the average mark of those who passed. Your task is to write a C++ program to do this. The marks should be entered until -999 is typed in and at the end the two totals calculated as well as the two averages have to displayed.
Your program should make use of the following 3 functions to solve the problem:
readInput( ): In this function, the end-user(teacher) should be prompted for a mark to be entered. After the mark has been captured it should be send back to the calling function, namely main( )
calculateTotals( ): Calculates the totals up to that point. In this function the mark that has just been read in, must be investigated to see which totals should be updated. It will be necessary to update two totals every time: One (1)should be added to the number of pupils in the specific group, and the mark should be added to the total of marks in that group (because later you have to calculate the average). You will need one or more if statements
showResults( ): displays the number of pupils in each group as well as the average mark for each group. However if the number of pupils in the group is zero, the average should not be calculated and displayed
A grade 12 class wrote a test in information technology which counted 50 marks. Their teacher wants to find out how many pupils got a mark between 0 and 49 percent (i.e. how many pupils failed), and how many got a mark of 50 percent and more (i.e. how many pupils passed the test). He also wants to determine the average mark of those who failed and the average mark of those who passed. Your task is to write a C++ program to do this. The marks should be entered until -999 is typed in and at the end the two totals calculated as well as the two averages have to displayed.
Your program should make use of the following 3 functions to solve the problem:
readInput( ): In this function, the end-user(teacher) should be prompted for a mark to be entered. After the mark has been captured it should be send back to the calling function, namely main( )
calculateTotals( ): Calculates the totals up to that point. In this function the mark that has just been read in, must be investigated to see which totals should be updated. It will be necessary to update two totals every time: One (1)should be added to the number of pupils in the specific group, and the mark should be added to the total of marks in that group (because later you have to calculate the average). You will need one or more if statements
showResults( ): displays the number of pupils in each group as well as the average mark for each group. However if the number of pupils in the group is zero, the average should not be calculated and displayed
•
•
•
•
Originally Posted by hlokzila
Design and write a C++ program for the problem given below. Apply the rules of good programming style by making your program modular, and using parameters and local variables in subprograms or functions. Add comments where necessary for each function. Use meaningful variable names. Your program should be user friendly.
A grade 12 class wrote a test in information technology which counted 50 marks. Their teacher wants to find out how many pupils got a mark between 0 and 49 percent (i.e. how many pupils failed), and how many got a mark of 50 percent and more (i.e. how many pupils passed the test). He also wants to determine the average mark of those who failed and the average mark of those who passed. Your task is to write a C++ program to do this. The marks should be entered until -999 is typed in and at the end the two totals calculated as well as the two averages have to displayed.
Your program should make use of the following 3 functions to solve the problem:
readInput( ): In this function, the end-user(teacher) should be prompted for a mark to be entered. After the mark has been captured it should be send back to the calling function, namely main( )
calculateTotals( ): Calculates the totals up to that point. In this function the mark that has just been read in, must be investigated to see which totals should be updated. It will be necessary to update two totals every time: One (1)should be added to the number of pupils in the specific group, and the mark should be added to the total of marks in that group (because later you have to calculate the average). You will need one or more if statements
showResults( ): displays the number of pupils in each group as well as the average mark for each group. However if the number of pupils in the group is zero, the average should not be calculated and displayed

We don't do homework here. If you'd like some help on some type of assignment, post what you've done in the programming forum, and then ask us what you need help with.
Alex Cavnar, aka alc6379
First of all, this is the wrong place to post questions. Second of all, we don't help with homework problems unless you show some effort on your part. Check out the C++ forum. Post your question there. Show us what you've done on it so far and where you're stuck. And we'll be more than happy to help you. Just not here in this forum/thread.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
![]() |
Similar Threads
- will people use a low traffic forum? (Social Media and Online Communities)
- Whats with all the guests? (Social Media and Online Communities)
- What is BRIDGE.DLL (Viruses, Spyware and other Nasties)
- Ever Notice this? (*nix Software)
- Big Game need progrmmers (C++)
- general links board? (DaniWeb Community Feedback)
Other Threads in the Geeks' Lounge Forum
- Previous Thread: Have I been activated?
- Next Thread: where do i start from
| Thread Tools | Search this Thread |
Tag cloud for Geeks' Lounge
apple article bankruptcy beard beijing books children clocks code cognitive_disorder comedy complaint console consoles cracked.com daniweb design development disk election empty facebook financialcrisis fun games gaming garbage google grandtheftauto gta halo3 hardware hunting internet java kids kindle king knife library life linux mad manly marketing mars merger microsoft ms murder netbook networking news nintendo obama odf opinion os outlook pain parenting planning playstation ps3 ps4 research rss search security sims software sony source space stocks study subversion survey systems tablet thelostanddamned time timeisonmyside. unsolved unused usarmy vapid videogames viruses wakoopa wave wii windows windows>all world wow www xbox xbox360 zomg_conspiracy






