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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply