subject

Finish the methods in the following code. DO NOT CHANGE THE MAIN METHOD. The instructions for each method are in a comment in the template. DO NOT CHANGE THE MAIN METHOD

#include
#include
using namespace std;
// prototypes
int main() {

int answer = 0;
int value1 = 0;
int value2 = 0;
double average = 0;
string string1 = "";
int numberVowels = 0;
int numberNonVowels = 0;

cout << "Enter string1: ";
getline(cin, string1);
cout << "Enter value1: ";
cin >> value1;
cout << "Enter value2: ";
cin >> value2;
cout << endl;
cout. setf(ios::fixed);
cout. precision(2);

answer = summationBetween(value1, value2);
cout << "The summation is: " << answer << endl << endl;

numberVowels = (string1, numberNonVowels);
cout << "The string \"" << string1 << "\" has " << numberVowels << " vowels and ";
cout << numberNonVowels << " characters that are not vowels. ";
cout << endl;
cout << endl;
average = calculateAverage();
cout << endl;
cout << "The average is: " << average << endl;

return 0;
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
What is the process in which the software development team compiles information to determine the final product.
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Who can provide you with a new password when you have forgotten your old one? your provide you with a new password in case you forget your old one.
Answers: 3
You know the right answer?
Finish the methods in the following code. DO NOT CHANGE THE MAIN METHOD. The instructions for each m...
Questions
question
Biology, 28.07.2019 04:34
question
Social Studies, 28.07.2019 04:34
question
Mathematics, 28.07.2019 04:34
question
Mathematics, 28.07.2019 04:34
question
Mathematics, 28.07.2019 04:34