SPORT ANSWERW d by me given cop with other ) showM cout DESIGN AND TESTING Perform the d ware design and testing task pes) 16) The cow has error det many as you can and indicate how to father void showMutt ) 1: in main cout << ” ) << endl; 3: Get the input 4 double the weight 5:cout<<“Enter your height in inches cin>> height 7:cout<<“Enter your weight in pounds”: 12) What is the output of the following program? int main() 10: Calculate the BMI 11: weigh” 703/ height Teigh) – 12: double brk int x = 8: cout << endl doSomething(x). cout<< <<endl; return 0; void doSomething(int & num) 14 I Output results 15 cout << “Your BMI is < < endl 16W (omi) 17: cout << “You are underwe .n”; 18: else if ( >25): 19: cout << “You are overweigun”. 20:else 21; cout << “Your weight is optimaln”: 22:return 0 23:) num= 0; cout << num << endl; 13) What will the following code display? int numbers[] – [99, 87, 66, 55, 101 ); for (int i = 2; i < 5; i++) cout << numbers[i] << endl; PROGRAMMING. Write the code for the specified program. Use proper style and naming. You may omit comments, inclusions, and namespace specifvers. (5 pts) 17) Write a function which takes an array of integers as a parameter, and returns the minimum of the values in the array. In the main function create a loop that lets the user enter 5 values into an array, send that to your function, and display the result 14) What will the following code display? int numbers[5] =( 41, 98, 55, 60, 75); cout << numbers[2]++ << endl; Show transcribed image text SPORT ANSWERW d by me given cop with other ) showM cout DESIGN AND TESTING Perform the d ware design and testing task pes) 16) The cow has error det many as you can and indicate how to father void showMutt ) 1: in main cout
Expert Answer
Answer to SPORT ANSWERW d by me given cop with other ) showM cout DESIGN AND TESTING Perform the d ware design and testing task pe…