![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 28.02.2020 00:24 kaliyab191
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](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 20:00, jayjay5246
What is the term for water wave that is created by an underwater earthquake
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 06:00, hilarydodard7099
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 23:40, lexiecooley
4. what is the reason for including the following code snippet in the header file animal. h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
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 in other subjects:
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 13.01.2021 16:20
![Konu](/tpl/images/cats/mat.png)
Mathematics, 13.01.2021 16:20
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 13.01.2021 16:20
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 13.01.2021 16:20
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 13.01.2021 16:20
![Konu](/tpl/images/cats/en.png)
English, 13.01.2021 16:20