Write cpp program that is menu-driven that allows for choice

Assignment Help C/C++ Programming
Reference no: EM13963178

1. Write a C++ program that is menu-driven that allows for the following menu choices:

Load an exam: Loading an exam should prompt the user for an exam file. If no file exists, it should allow the user to specify a different file. Upon a successful load of an exam, the user should be presented with the menu again.

Display exam: The program should simply display each question, its point value, and the answer to the screen. (The functionality of actually taking the exam will be created in Week 5). Upon displaying the exam to the screen, the user should be presented with the menu again.

Quit: Quit the program gracefully by displaying a "thank you" message to the user, and ensure that all files have been closed along with any other housekeeping that should be done as your program shuts down.

Consider creating a class exam that will hold the actual exam and provide behavior such as loadExam and also displayExam.

Reference no: EM13963178

Questions Cloud

Million in debt outstanding : The firm has $100 million in debt outstanding and 50 million shares outstanding, selling for $10 per share. The firm currently has net income of $90 million and depreciation charges of $10 million. It also has the following projects available:
Calculate the frequency of oscillation and explain it : The figure attached shows the Armstrong oscillator. A transformer with two secondary winding's has been use, one to give feedback and one to give the oscillator's output
Write a java program that repeatedly enters a date : Write a Java Program that repeatedly enters a date and prints the day of the week that corresponds to each input date. Use a Calendar class object to find the day of week.
Marginal interest rate on the debt : GL Corporation, a retail firm, is making a decision on how much it should pay out to its stockholders. It has $100 million in investible funds. The following information is provided about the firm:
Write cpp program that is menu-driven that allows for choice : Write a C++ program that is menu-driven that allows for the following menu choices: Load an exam: Loading an exam should prompt the user for an exam file.
Firm current and projected income statement : JLChem Corporation, a chemical manufacturing firm with changing investment opportunities, is considering a major change in dividend policy. It currently has 50 million shares outstanding and pays an annual dividend of $2 per share. The firm curren..
How far is the coin from the side of the container : A beam of light with red and blue components of wavelengths 670 nm and 425 nm, respectively, strikes a slab of fused quartz at an incident angle of 30 degree. On refraction, the different components are separated by an angle of 1.31 X 10^-3 rad. I..
Dividend payout compare to the industry : The following is a regression of dividend payout ratios on the risk and ln(market capitalization: in millions) of chemical firms: Dividend Payout Ratio = 0.14 + 0.05 [ln (Market Capitalization in millions)] - 0.1 (Beta) Harman Chemicals has a mar..
How can people be granted access to an efs-encrypted file : From what security risks does EFS offer protection, and from what risks does it not offer protection? With some detail, how can multiple people be granted access to an EFS-encrypted file?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd