Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a function to accept a vector of test scores (values of type double between 0.00 and 100.00) and an empty vector of type char.

Write a function to accept a vector of test scores (values of type double between 0.00 and 100.00) and an empty vector of type char. The function should fill the second vector with the appropriate letter grade for each score in the first vector. So, if the first score were 75, the first letter grade would be C. The scale is 90 A, 80 B, 70 C, 65 D,

It is not the 4th choice because it was marked incorrect.

image text in transcribed

void talcLettencost vector dout ic.AVI, vector cchar&V2 char -A -F void calcLcttericost vocta?double> &VI, vochor echar sV2 char g -A vector cchar&V2 charl case 900 e-A case 700 ase -65. void caicLettericonst vector sdouble: SV1 vector cchar> V2) fortint i-0,V1 size:i++) char lg 2-A else it v-80.0 else irtvilil >-7001 else it v-65.0) k-F: push back

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago