Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

If you just want to display b is greater than a only from the below codes without deleting any parts of the codes.

If you just want to display "b is greater than a" only from the below codes without deleting any parts of the codes. How will you implement this in R? Show your codes in R and the output too. a <-200 b <-33 if (b > a){ print("b is greater than a")} else if (a == b){ print("a and b are equal")} else { print("a is greater than b")}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions