Answer:
#include <iostream>
using namespace std;
int main()
{
int cookies;
cin >> cookies;
cout << "The calorie consumption is: " << cookies * 142 << endl;
return 0;
}
Explanation:
First line: include basic library of C++(input and output).
using namespace std;
Says to compiler we are using std.
int main() Main function
int cookies, cookies variable, of int type
cin >> cookies
get the number of the cookies from user
cout Print the text and calories(one cookie have 142 calories)
Have a nice day ;)
Answer:
See below
Explanation:
Because sometimes you have to 'carry' a 1 over to the ext column when adding two binary numbers
Example :
1 1 1
<u>+1 1 1 </u> <==== starting in the first R column add 1 + 1 to get 0 and carry 1
then the next column you will add 1 + 1 + 1 = 1 and carry 1 again
then 1 + 1 + 1= 1 and carry 1 again (to column 4) to get
1 1 1 0
Answer:
The equal sign "=" must be used.
Most, if not all, spreadsheet programs support formulas, but you must start them with an equal sign.
Answer:
D. # pick up the turtle and move it to (-100,200)
Explanation:
goto() option lets the user to move to a particular location.
so, goto(-100, 200) picks up the turtle and moves to the starting location will be used to indicate location to begin writing the word.