Correcting syntax of if statements

Exercise Type: Correction

Instructions

Correct the syntax of the following statements

A

if(exp(1)>0{
	message("This works!")
}

B

if("a"=!"d"){
	text <- "Some feedback"
	message(text)
}

C

a <- 40-50
if(a>0){
	message("'This is cool"')
}