- 2
What is the module 2 quiz final answer
I can’t figure out the last question on the module 2 quiz, the 2nd box is 76 but i can’t find out what the 1st box is... any answers or suggestions? :(
19 Respuestas
+ 7
the Answer is &&
+ 2
Thx (thanks) everyone
+ 1
first:&&
second:76
0
thanks everyone else it helped as well😉
0
Fill in the blanks to print "You rock!" to the screen if variable a is greater than 12, and variable b is less than or equal to 76.
0
Answer is
first blank=align
second blank=right
0
Fill in the blank to print "You rock!" to the screen if variable a is greater than 12,and variable b is less than or equal to 76
0
int x = 10;
int y = 8;
if (x !=
) {
cout << "not equal";
}
0
#define TRIPLE(x) (x) * 3
int num = 42;
printf("%d", TRIPLE(num));
- 1
Your question is:
Fill in the blanks to print "You rock!" to the screen if variable a is greater than 12, and variable b is less than or equal to 76.
int a = 144;
int b = 33;
if (a > 12 __ b <= __) {
cout << "You rock!" << endl;
}
You have two conditions: a>12 plus b<=76. Both need to be true before you can print "You rock!" Your answer is the operator that returns true, when both expressions are true. In the three other cases, it must return false.
a>12 | true | false
----------+---------+--------
b<=76 | |
true | true | false
----------+---------+--------
false | false | false
If you still aren't sure, the word immediately following the comma in the original question is the name of the operator.
- 1
You have two conditions: a>12 plus b<=76. Both need to be true before you can print "You rock!" Your answer is the operator that returns true, when both expressions are true. In the three other cases, it must return false.
- 1
Fill in the blanks to define a macro that triples its argument.
Then use the num variable as its argument and output the result.
TRIPLE(x) (x) * 3
int num = 42;
printf("%d", TRIPLE(
));
what should i do in the second braket triple (??
- 1
Fill in the blanks to define a macro that triples its argument.
Then use the num variable as its argument and output the result.
Plz ans me this question
TRIPLE(x) (x) * 3
int num = 42;
printf("%d", TRIPLE(
));
- 1
solution:-
#define
TRIPLE(x) (x) * 3
int num = 42;
printf("%d", TRIPLE(
num
));
- 1
#define
num
- 2
thx Naimul Islam Rayan, it helped
- 2
Fill in the blanks to print "Hi".
>>>
("Hi")
- 5
int x = 10;
int y = 8;
if (x !=
) {
cout << "not equal";
}