subject

The program will ask the user to enter a sequence of scores between 0 and 100, inclusive. the program then will print out the stats about these scores, including: the number of scores the maximum score the minimum score and the average score if there are no scores entered, the output message shall just say that there is no score. the students should implement the following two functions to solve this problem. void get_scores(vector & v); // get integer scores from keyboard and store in v. // we assume that the user will input scores in range // of 0 to 100, inclusive. user enter a negative // number to stop the input and end the function void print_stats(vector & v); // print out the stats of data that are stored in v // includes: max, min, total number of data, // and the average problem 2 the program will ask the user to enter a sentence. the program will then display a message to indicate if this sentence is a palindrome. the following sentence is a palindrome: a nut for a jar of tuna. the white space and non english letters are not counted. the case difference is ignored. make sure your program will take a sentence as input not just a string with no space in it. the students should implement the following function to solve this problem

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
1)consider the following code snippet: #ifndef book_h#define book_hconst double max_cost = 1000.0; class book{public: book(); book(double new_cost); void set_cost(double new_cost); double get_cost() const; private: double cost; }; double calculate_terms(book bk); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_cost should be removed since header files should not contain constants.c)the definition of book should be removed since header files should not contain class definitions.d)the body of the calculate_terms function should be added to the header file.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
question
Computers and Technology, 23.06.2019 13:10
What is domain name system (dns)? allows dynamic ip address allocation so users do not have to have a preconfigured ip address to use the network converts ip addresses into domains, or identifying labels that use a variety of recognizable naming conventions the efficient coexistence of telephone, video, and data communication within a single network, offering convenience and flexibility not possible with separate infrastructures the integration of communication channels into a single service
Answers: 2
You know the right answer?
The program will ask the user to enter a sequence of scores between 0 and 100, inclusive. the progra...
Questions
question
Mathematics, 10.12.2020 06:20
question
Mathematics, 10.12.2020 06:20
question
Physics, 10.12.2020 06:20
question
Mathematics, 10.12.2020 06:20
question
Mathematics, 10.12.2020 06:20
Questions on the website: 13722367