Math, asked by Srijith3535, 1 year ago

Draw a flowchart to check whether a given integer is prime or not

Answers

Answered by ayush3209
0
The number 4 can be divided by 2 evenly, so it is not a prime. The flowchart shown above describes a function that is given a number i and returns whether it is prime or not. The name of the function is "IsThisNumberPrime." First it checks to make sure the input numberis an integer.
Similar questions