Menu
×
×
Correct!

Exercise:

Print "Yes" if a is equal to b, otherwise print "No".

a <- 50 b <- 50 if (b == a) { print("Yes") } else { print("No") }

Not Correct

Click here to try again.

Correct!

Next ❯
a <- 50
b <- 50

 (b  a) {
  print("Yes")
}  {
  print("No")
}


  
  
  




Log in to keep your progress
Sign up to keep your progress

Completed 0 of 40 Exercises:

R Syntax
R Variables
R Data Types
R Math
R Strings
R Booleans
R Operators
R If...Else
R Loops
R Functions
R Data Structures

×

Reset the Score?

This will reset the score of ALL 40 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 40 R exercises.

Share your score: