Answer:
1. Input array of 100 numbers
mx = 0
for (int i = 0; i < 100; i++)
if (arr[i] > mx)
mx = arr[i]
Output mx
2. Input array of 100 numbers
mx = 0
for (int i = 0; i < 100; i++)
if (arr[i] > mx)
mx = arr[i]
mx = mx * 0.9
3. Input three numbers
if(firstNumber > secondNumber) {
swap(firstNumber, secondNumber)
}
if (firstNumber > thirdNumber) {
swap(firstNumber, thirdNumber)
}
if (secondNumber > thirdNumber) {
swap(secondNumber, thirdNumber)
}
output firstNumber, secondNumber, thirdNumber
Explanation:
the first question answer is true
the second question answer is true
please brainliest me i just took the test so i know those 2 answers are correct!
Answer:
The explanation to this question is given below in the explanation section.
Explanation:
#include <iostream>
#include <string>
using namespace std;
int main()
{
int score;
cout << "Enter Score: \n";
cin>>score;
if (score == 100)
//whether the value of the score variable is equal to 100
{
cout << "Perfect ";
//If so, it should print “Perfect”
}
else
{
cout << "Nice Try ";
}
}
Janice can actually used both knowledge as an advantage. She can use her background in farming while learning more about medicine. In such a way, she can have a strong advantage in medicinal farming - like learn ways to create good and effective drugs from plants, etc.
The best technology that Philip could use is the Email Newsletters. <span> Sent on a regular basis, a content-based email newsletter not only helps you stay on top, but also showcases your updates concerning wellness, C</span>reate a newsletter that will engage your users. <span>Ensure that each content is educational, informative, and short but clear. </span>