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, 23.06.2019 00:10
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
question
Computers and Technology, 23.06.2019 01:40
You have a linux system that has a 1000gb hard disk drive, which has a 90gb partition containing an ext4 filesystem mounted to the / directory and a 4gb swap partition. currently, this linux system is only used by a few users for storing small files; however, the department manager wants to upgrade this system and use it to run a database application that will be used by 100 users. the database application and the associated data will take up over 200gb of hard disk space. in addition, these 100 users will store their personal files on the hard disk of the system. each user must have a maximum of 5gb of storage space. the department manager has made it very clear that this system must not exhibit any downtime as a result of hard disk errors. how much hard disk space will you require, and what partitions would you need to ensure that the system will perform as needed? where would these partitions be mounted? what quotas would you implement? what commands would you need to run and what entries to /etc/fstab would you need to create? justify your answers.
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
This chapter lists many ways in which becoming computer literate is beneficial. think about what your life will be like once youโ€™re started in your career. what areas of computing will be most important for you to understand? how would an understanding of computer hardware and software you in working from home, working with groups in other countries and contributing your talents.
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
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, 28.09.2020 07:01
question
Mathematics, 28.09.2020 07:01
question
Mathematics, 28.09.2020 07:01
question
Mathematics, 28.09.2020 07:01
question
History, 28.09.2020 07:01
Questions on the website: 13722360