Question about Computers & Internet

1 Answer

Design the program 3 grades output the grades according to each rank

Posted by on

Ad

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    MVP:

    An expert that got 5 achievements.

    Governor:

    An expert whose answer got voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Contributor
  • 30 Answers

#include <string>
#include <fstream>

#define MAX_NUM_STUDENTS 15
#define MAX_LEN_NAME 20
#define LEN_SSN 10

enum Rank {Freshment, Sofomore, Junior, Senior};
enum letGrade {A, B, C, D, F};

class StuRecord {
public:
void ReadRecord(ifstream& inputFile);
// Precondition:
// Input stream inputfile is opened and the file is not empty.
// Postcondition:
// The next student record in the input file is read and stored
// in this object. The rank is save as a value of the enumeration
// type "letGrade" according to the read-in numeric rank number.
void Average();
// Precondition:
// The 3 grades (grade1, grade2, and grade3) are assigned.
// Postcondition:
// Find the average of the 3 grades.
void LetterGrade();
// Precondition:
// The average is assigned.
// Postcondition:
// Determine the letter grade according to the average.
void Print() const;
// Precondition:
// name, ssn, rank, and grade are assigned.
// Postcondition:
// Print out the student record.
StuRecord();
// Default constructor.

private:
string name;
string ssn;
Rank rank;
letGrade grade;
int grade1, grade2, grade3, average;
};

And a source file...which i am not sure what to do from this point forward =(

#include "project 1.h"
#include <iostream>
#include <fstream>

using namespace std;




enum Rank {Freshment, Sofomore, Junior, Senior};
enum letGrade {A, B, C, D, F};
struct StuRecord
{
string name;
string ssn;
Rank rank;
letGrade grade;
int grade1, grade2, grade3, average;
};

Posted on Jul 23, 2010

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
New users get to try the service completely Free afterwhich it costs $6 per call and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Goodluck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Want grade 10 Technology papers


Here you go

[PDF]2006 Grade 10 Exemplar Question Papers : Information Technology learn.mindset.co.za/sites/default/files/resourcelib/emshare-exam-resource/9342.pdf
  1. Cached
  2. Similar
Grade 10. INFORMATION TECHNOLOGY. SAMPLE THEORY PAPER. Time: 2 hours. Marks: 180. READ THE FOLLOWING INSTRUCTIONS CAREFULLY ...

[PDF]Grade 10 Electricity/Electronics Technology (20G) - Manitoba ...

www.edu.gov.mb.ca/k12/dl/iso/previews/gr10_electricity.pdf
  1. Cached
  2. Similar
Manitoba Education and Advanced Learning Cataloguing in Publication Data. Grade 10 electricity/electronics technology (20G) : a course for independent study.

[PDF]Grade 10 Design Technology Cover BW_EN Cover Black Logo

www.edu.gov.mb.ca/k12/dl/iso/previews/gr10_drafting.pdf
  1. Cached
  2. Similar
Grade 10 drafting design technology (20G) : a course for independent study. .... Bond paper stock, 8½" x 11" (white photocopier paper). Bond paper stock, 11" x ...

[PDF]Technological Design, Grade 10 - OCTE

www.octe.on.ca/assets/files/OCTE%20Curriculum/TDJ_TechnologicalDesign.pdf
  1. Cached
of environmental and societal issues related to technological design, and will learn about ... training leading to careers in the field. Prerequisite: None. Technological Design,. Grade 10 .... machine; materials: paper, wax, clay, wood, metals,.

GRADE 10 Revision Questions and Answers ' Physical Sciences ...

https://maimelatct.wordpress.com/grade-10-physical-sciences/grade-10-q-a/
  1. Cached
  2. Similar
Can i please have the memo of "FINAL 2014 Gr 10 QUESTION Paper 2 June" please help i cant find ... Please I the physical exam paper for grade10 june 2016.

[DOC]Computer Applications Technology Grade 10 - Thutong

www.thutong.doe.gov.za/ResourceDownload.aspx?id=47492
  1. Cached
  2. Similar
Example of theory question paper with revision and examination strategies ... These guidelines are aimed at Grade 10 Computer Applications Technology ...

grade 10 Technology papers Google Search

Aug 23, 2016 | Office Equipment & Supplies

1 Answer

What are the different rankings used in foosball according to the USTSA?


According to the USTSA, there are 4 different rankings: rookie, semi pro, pro, and master.

Aug 12, 2012 | Sport & Outdoor - Others

1 Answer

How long would it take before you could contribute to this company?


Three procedures made possible company relations. first, the company requires a signup to become a member. Membership details are acquired as records to the company, also a testimonial grading during participation. Second, the responsibilities of members includes providing detail technical support to clients. The areas of specialty includes several categories. Third, once membership contributions starts, gradings of improvement are recorded. A top achivement record amonsg member epxerts is awarded by the company host. Also, the technical expertise provided has attachment wadger fees for successful resolution.

The estimate time in contribution
1. A successful attempt in providing technical expertise during the first thirty problems determination of the grading ranks.
2. An achievement th top ranks is rewarded with a token price
3. Each individual problems could have contribution fees acquired
4. A timing to contribute is individual driven

Dec 20, 2010 | Computers & Internet

1 Answer

C-4553


This is a Yellow Laser Unit Error. SOS signal is not detected even after thelapse of a given period of time after starting the laser output. This is a Rank B error. To clear a Rank B error you open and close the front door and/or do a trouble reset:
1. Turn OFF the main power switch.2. Turn main power switch ON while pressing the Utility/Counter key.3. Touch [Trouble Reset].4. Check to make sure that [OK] is displayed and the it has been reset.5. After turning off the main power switch, turn it on again more than 10 seconds after and check if the machine starts correctly.
Please note: I believe there was a factory bulletin out on this model and Konica Minolta furnished new laser units free of charge. I think that program is over however. These lasers had a high rate of failure due to a design or manufacturing problem.

Dec 01, 2010 | Konica Minolta Bizhub c203 Copier

1 Answer

Just i wonder this toaster work whit 120 v. and how


It's a commercial grade toaster designed to run at a minimum of 208v on a 60Hz supply, but more usually operated in the 220-240v range. To run it at 120v requires a power inverter with a high current output, most inverters are designed for low current devices.

In practical terms, it's not a realistic prospect when there are already so many other commercial grade toasters which do exactly the same job at a native 110-120v range.

Sep 22, 2010 | Hobart ET26 – 4-Slice Bread Toaster

1 Answer

Hello, laptop screen looks to now be in 3-D. How do I change back?


Hello,

Please check your display settings and change or modify it according to your design output.
To go to the display setting you have to go to the control panel and find display setting or right click the main screen and select properties then select settings tab. then you can start modifying or changing your desire output of your display. Thanks

Aug 12, 2009 | Computers & Internet

1 Answer

Student marksheet prepare wtih Ms Excel With following conditions


Check all the Marks with IF Function if Mark is less than 35 give the total mark else give the rank
for Ex:;
if(Or(m1<35,m2<3,m3<35,.....),TotalMark,Grade)) [enter]
here m1,m2,m3 ...are the cells denoting Marks, Totalmark is the cell Showing total marks and Grade is the grade applied for the condition. here also you can use one more if function to find the grade among A,B,C,D,E
First this function check whether any of the given marks are less than 35. if any of the marks is less than 35 it will get the answer TRUE for the OR Function and you will get the Totalmark Cell VAlue, else it will go to Grade Clause.

Dec 06, 2008 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

202 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...