Solved

C++ - to make up a project that asks questions ansd grades a person

Posted on 2002-06-06
3
167 Views
Last Modified: 2010-04-02
It is a program where i have to make up some questions and keep track of the number of questions answered, right or wrong or if the questions are missed. Also to print out the right answer to each question, if the question is missed. At the end of the test the name, period and grade level, the number of questions answeres , the grading scale, the grade they received for the test must be printed out.
Q1)Can anyone please help me telling me how to keep track of the right, wrrong or missed questions and also give me the C++ code for it and also help me in pinting out the results below and also how to set up the loop for each answer cause i must have "Great job" for each right question and "sorry" for wrong answers etc. I have different questions for the person with me but i dont know how to arrange the questions and get the result at the end
Please can anyone help me real Quick. You can interact me directly at sriki_sriki@hotmail.com
0
Comment
Question by:sriki_sriki
3 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 7060115
>> 1)Can anyone please help me telling me how to keep track of the right, wrrong or missed questions
just use three integer variables for this.  One stores the number of right answer, one the number of wrong ones, and one the number of missed questions.  You set these to 0 at the start of the program.  Then increment the right counters each time a question is answered (right or wrong) or missed.  

>> give me the C++ code for it a
We can't do that.   We just answer questions here.  We help you do your work.  You will have to do your own work though.  This is specially true of school work.

Why don't you try to do as much as you can, then post what you get done.  We can look it over and make suggestiosnf or fixes or what you should try to do next.
0
 
LVL 11

Expert Comment

by:griessh
ID: 7261525
Dear sriki_sriki

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "nietod"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7332891
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Quicksort a dynamic deque 33 73
Header of docx file 17 114
HTTPSendRequest with WinINet delays on first call 11 32
FMX TEdit KeyUp handler detecting  "enter" key 4 13
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question