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

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

The second portion (instruction shown below) which is the actual C++ program is needed by this Saturday. 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: EM131323867

Questions Cloud

Which the fund invests increase in value : You purchased 1,000 shares of the New Fund at a price of $20 per share at the beginning of the year. You paid a front-end load of 4.25%. The securities in which the fund invests increase in value by 16.75% during the year. The fund's expense ratio is..
Why are the money and capital markets important : Why are the money and capital markets important? What factors characterize the instruments of the money and capital markets? What are the two ways money can be exchanged in the economy?
What are advantages and disadvantages of being in such role : How you would like to be in a position that involves performing these types of tasks? What are the advantages and disadvantages of being in such a role?
How did management overcome that resistance : Since change in the workplace is constant, a good leader knows how to implement and lead effective change. A description on p. 418 and 419 explains how change affects top management, middle management, and frontline employees. Read this section, a..
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.
Find the maximum normal and shear stresses in beam : A linearly increasing load sits on a brass rail of length L. Find the centroid (4) of the cross section below. Using successive integration, find the maximum bending moment (5) and deflection (8) in the rail and their respective locations along th..
Design a program that asks the user to enter a string : Sum of Digits in a String Design a program that asks the user to enter a string containing a series of single digit numbers with nothing seperating them.
Why did you decide on this profession-health counselor : Part of developing your clinical mental health counselor identity is exploring your motivations for entering this profession. Why did you decide on this profession? What experiences have you had in the past that make you think this profession woul..
Calculate that the correct answer : For example, if you calculate that the correct answer is 514 mm Hg, simply type "510" in the box without the quotation marks (") or units as part of your answer.

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