Answer:
A Program was written to carry out some set activities. below is the code program in C++ in the explanation section
Explanation:
Solution
CODE
#include <iostream>
using namespace std;
int main() {
string name; // variables
int number;
cin >> name >> number; // taking user input
while(number != 0)
{
// printing output
cout << "Eating " << number << " " << name << " a day keeps the doctor away." << endl;
// taking user input again
cin >> name >> number;
}
}
Note: Kindly find an attached copy of the compiled program output to this question.
Answer:
The pseudocode is as follows:
Input num1, num2
input operator
print num1 + num2
print num1 - num2
print num1 * num2
if num2 != 0
print num1 / num2
else
print "Cannot divide by 0"
Explanation:
This gets input for both numbers
Input num1, num2
This gets input for the operator
input operator
This prints the sum
print num1 + num2
This prints the difference
print num1 - num2
This prints the product
print num1 * num2
This prints the division if the divisor is not 0
<em>if num2 != 0</em>
<em> print num1 / num2</em>
<em>else</em>
<em> print "Cannot divide by 0"</em>
<em />
Answer:
CSS, HTML & JavaScript.
Explanation:
The first Murray will need to learn will be HTML for the site and then CSS for the design of the site.
Then he needs JavaScript to allow him make his showcase his pictures.
Answer:
A) When the words, images or videos shift from humorous to hurtful.
Unlike kids who are being bullied, kids who are being teased can influence whether it continues or ends. If they get upset, the teaser usually stops.