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
is.prime <- function(x) { write the code here } Question: 1a. give a code for a function and use that function to pr
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am