Create the appropriate constructor, getters and setters

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

 pseudocode the program first. Include appropriate comments.

  1. Create a string array and add the following names:
    1. Boney, Sam
    2. Inovera, Marge
    3. Moore, Bruno
    4. Steem, Lois
    5. First, Hugo
  2. Display the names in the array, one per line
  3. Sort that array into alphabetical order by last name
  4. Display the names in the array, one per line
  5. Create a second string array; using your imagination to match the following jobs with the names in step 2 and place the job names into the new array in the same order as the sorted name array
    1. Bungi jumping instructor
    2. Caffeine addiction counselor
    3. Statistician
    4. Assertiveness training coordinator
    5. Ice rink manager
  6. Display the job array, one per line
  7. Display the names and their corresponding jobs, separated by 5 space, one name and job per line.
  8. Create a class called Student represented by the following UML:

Student

-lastname: string
-firstname: string
-grade: string

-job: string
-percentage: float

+calcGrade()

  1. Create the appropriate constructor, getters and setters for the class.
  2. Create an instance of Student for each of the students listed above from array. Construct the instance with lastname, firstname, and job.
  3. Ask the user to input a percentage (in the range 00.00 to 100.00) for each student. Store the percentage in the class instance.
  4. Create the calcGrade function to generate a letter grade from the percentage for each student according to the grading stand below. Store the grade in the class instance.

A

93 - 100%

A-

90 - 92%

B+

87 - 89%

B

83 - 86%

B-

80 - 82%

C+

77 - 79%

C

73 - 76%

C-

70 - 72%

D

65 - 69%

F

0 - 64%

  1. Display each instance of the class in this order: First Name, Last Name, Grade, Job.

 

 

Reference no: EM13159366

Questions Cloud

What is sexual revolution : What is sexual revolution? Why do societies control people's sexual behavior? How does sexuality play a part in social inequality?
What mass of neon gas should be introduced : what mass of neon gas should be introduced into an evacuated 0.55 L to produce a pressure of 80 kPa at 30 degrees celsus
Effects of asbestos exposure : Should the asbestos companies be held morally responsible in the sense of being capable of making a moral decision about the ill effects of asbestos exposure?
Price elasticity of demand depends on various factors : Price elasticity of demand depends on various factors. Explain each factor with the help of an example and how how producers equilibrium is achieved with isoquants and isocost curves.
Create the appropriate constructor, getters and setters : Create the appropriate constructor, getters and setters for the class. Create an instance of Student for each of the students listed above from array. Construct the instance with lastname, firstname, and job.
Find mean value of differences for the paired sample data : Suppose you want to test the claim the the paired sample data given below come from a population for which the mean difference is ud=0. The mean value of the differences for the paired sample data.
Describe the function of the golgi apparatus : Describe the function of the Golgi Apparatus and Ribosomes cell structures and say in which primary cell type (i.e. prokaryotic and/or eukaryotic) you will find each cell structure?
Responsibilities of the supply chain manager : In many firms, the title "supply chain manager" identifies the person whose primary responsibility is forecasting and / or sales and operations planning. Based on what you have learned in the class, what should the responsibilities of the supply c..
What is the net present cost for the quik-skwish machine : The annual operating costs increase by 15% each year as the machines age. If the interest rate is 8%, what is the net present cost for the Quik-Skwish machine?

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