Answer:
#include <iostream>
using namespace std;
double larger( double x, double y){
if (x > y){
return x;
} else{
return y;
}
}
int main(){
int n, max = 0;
for (int i =0; i < 15; i++){
cout<< "Enter item"<< i+1 << ": ";
cin>> n;
cout<< "\n";
max = larger( n, max);
}
cout<<"The maximum number is: "<< max;
return 0;
}
Explanation:
The C++ program defines the function 'larger' that compares and returns the largest of two numbers. The main program prompts the user for 15 numbers and the larger function is called to return the largest of the fifteen numbers given.
They enable interoperability between software and hardware from different vendors.
Answer:
I want to finish all of my social studies homework by dinner. - <u>Short term goal. </u>
Short term goals are targets that are to be achieved in the near and immediate future such as in a day or in a week. As the goal listed is to be done on the same day, it is a short term goal.
I want to graduate in three years in the top 15% of my class. - <u>Normative Goal</u>
Normative goals are the goals people set based on what society looks upon as desirable and a good thing to do. Academic excellence is a normative goal as it is looked upon favorably by society.
I want to earn a good grade on my math test tomorrow. - <u>Intrapersonal goals.</u>
Intrapersonal goals are goals that we set within ourselves to motivate ourselves to do better. The writer here wants to do a good job in the math test which makes it intrapersonal.
I want to qualify for Honors Spanish next year. - <u>Long term goal</u>
A long term goal is one that is to be achieved in the future most likely after a period of a year. Qualifying for an Honors in Spanish in the next year is therefore a long term goal.
It’s either b or c, but my final answer would be C
A) when u modulate some thing you vary it