+ 1
Do you know... How to iterate through arrays? How to calculate averages? How to check if a number is prime or not?
5th Jun 2020, 6:37 PM
Seb TheS
Seb TheS - avatar
+ 1
Show your attempt to solve it first.
5th Jun 2020, 6:38 PM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
0
M .Queen Can you make a prime detector first? I remember it was quite hard when I tried to write it first time, but this might help: "Prime is a number, which is only divisible by 1 and itself."
5th Jun 2020, 6:54 PM
Seb TheS
Seb TheS - avatar
0
M .Queen Can you make a program which iterates through the 2D array and prints "is prime" for each prime in the array? If you can do that you would be very close to the wanted program.
5th Jun 2020, 7:15 PM
Seb TheS
Seb TheS - avatar