Solved

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

Posted on 2002-06-06
3
162 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
Comment Utility
>> 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
Comment Utility
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
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now