Kāds var palīdzēt?Šito es nesaprotu
Write code that contains an if/else statement, just like we did in the last exercise. When your condition is true, print to the console "I am right". When it is false, print to the console "I am wrong". Make sure your statement evaluates to false so it prints out "I am wrong".
Es mēģināju šādi,bet outputā ir "I am wrong".
if(3 === 3)// Remember, the order and punctuation matter.
{
"I am right"
}
(4 < 3)
{
"I am wrong"
}
Grintals miniblogs
- 0
Grintals 10.03.2013. 02:32
Ielogojies vai izveido profilu, lai komentētu!