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
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
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