Page 1 of 1

is.prime <- function(x) { write the code here } Question: 1a. give a code for a function and use that function to pr

Posted: Mon Mar 21, 2022 4:50 pm
by answerhappygod
is.prime <- function(x) {
write the code here
}
Question:
1a. give a code for a function and use that function to print
out plus identify prime numbers less than 20
b. use the function to count the number of prime numbers that
are less than 1000
Must be done in R