Menu
×
×
Correct!

Exercise:

Print "Hello World" if a is greater than b.

a <- 50 b <- 10 if (a > b) { print("Hello World") }

Not Correct

Click here to try again.

Correct!

Next ❯
a <- 50
b <- 10

 (a  b) {
  print("Hello World")
}

  
  
  




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: