• Register
0 votes
103 views

Problem:

I am new in programming and my syntax is not good, can anyone provide the right query to find?
Declare a variable hasPassedTest, and initialise it to true?
5.4k points

Please log in or register to answer this question.

2 Answers

0 votes

Solution:

I am not too strong in programming but still can help you.

 

we can write as 

boolean hasPassedTest = true;

 

This wil help you 

 

 

 

10.5k points
0 votes

Solution:

The Correct Answer Of This Question is boolean hasPassedTest = true;

int main()
{
// create hasPassedTest and initialized with the value true
bool hasPassedTest=true;
cout<

return 0;
}

Or

(resolve 'meaning)
nil

(def meaning 42)
#'user/meaning

(resolve 'meaning)
#'user/meaning

or you can boolean check it, if you require true/false:

(boolean (resolve 'meaning))
true

 

31.7k points
edited by