Untitled
unknown
plain_text
a year ago
732 B
4
Indexable
1+1 2+2 sqrt(16) pi ("R is exciting") x <- 5 x y <- 10 y x y z = 1 z v < -18 v v<-18 v v ('Lamina') sqrt(8) f <- 9 a<-10 z<-10 z Z #Z<-19 Z #sas d = 10#control str <- "Hello" str numa <- "World" numa nchar(numa) nchar(str) paste(str, numa) str1<-"Fahim" str2<-"Rahman" paste(str1, "", str1) paste(str1, str2, sep='') try <- "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua" try cat(try) fat <- "We are the so called \"Vikings\" from the north. " fat cat(fat) a<-80 b<-80 if(a>b){ print("a is greater than b") } else if (a == b){ print("a is equal to b") } else { print("b is greater than a") } score <- 0.4 ifelse(score > 0.5,("Passed"),("Failed"))
Editor is loading...
Leave a Comment