Solved

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

Posted on 2002-06-06
3
168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to convert MFC::CString to UTF8 wchar_t* 10 386
trigs fail! I thought I knew how to do trignometry 3 83
gdb doesn't stop on breakpoint 2 114
Precision Problem in C++ 7 50
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

733 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