What is the module 2 quiz final answer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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? :(

12th Jul 2018, 1:38 AM
Craig Wade
18 Answers
+ 7
the Answer is &&
19th Jul 2018, 3:02 PM
Naimul Islam Rayan
Naimul Islam Rayan - avatar
+ 2
Thx (thanks) everyone
13th Apr 2020, 6:01 AM
Waled Moumari
Waled Moumari - avatar
+ 1
first:&& second:76
2nd Nov 2019, 10:32 AM
Rinor Bresilla
Rinor Bresilla - avatar
0
thanks everyone else it helped as well😉
7th Aug 2018, 1:35 AM
Craig Wade
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.
31st Mar 2020, 10:49 PM
ahmed belaidi
0
Answer is first blank=align second blank=right
28th Feb 2021, 3:18 PM
Vaibhav Dhiman
Vaibhav Dhiman - avatar
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
30th Apr 2021, 4:19 PM
Shubhangi More
Shubhangi More - avatar
0
int x = 10; int y = 8; if (x != ) { cout << "not equal"; }
17th Jul 2021, 6:17 PM
jash d onfroy
jash d onfroy - avatar
0
#define TRIPLE(x) (x) * 3 int num = 42; printf("%d", TRIPLE(num));
10th Sep 2021, 6:33 PM
Zahangir Alam
Zahangir Alam - avatar
- 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.
12th Jul 2018, 4:00 AM
John Wells
John Wells - avatar
- 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.
30th Sep 2018, 6:17 PM
mustafe Adam Mohamoud
mustafe Adam Mohamoud - avatar
- 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 (??
3rd Apr 2020, 7:29 PM
Manal Abdouh
Manal Abdouh - avatar
- 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( ));
6th May 2020, 6:51 AM
harshada kawade
harshada kawade - avatar
- 1
solution:- #define TRIPLE(x) (x) * 3 int num = 42; printf("%d", TRIPLE( num ));
10th May 2020, 7:04 AM
DURGESH SAHU
DURGESH SAHU - avatar
- 1
#define num
26th Jul 2021, 8:05 AM
Yashika Patel
Yashika Patel - avatar
- 2
thx Naimul Islam Rayan, it helped
7th Aug 2018, 1:34 AM
Craig Wade
- 2
Fill in the blanks to print "Hi". >>> ("Hi")
3rd Oct 2019, 1:52 AM
Agus Stenly Maniani
- 5
int x = 10; int y = 8; if (x != ) { cout << "not equal"; }
23rd Feb 2019, 4:59 AM
HARIHARAN M