Computer Science, asked by Stoneface84961, 9 months ago

Logic:-. - Accept a number x as input.• - if x is a prime number, print "prime". - if x is not a prime number, then print "odd" if x is an odd number. - if x is not a prime number, then print "even" if x is an even number​

Answers

Answered by ıtʑFᴇᴇʟɓᴇãᴛ
12

tex

/brac>

if x is not a prime number, then print "odd" if x is an odd number. - if x is not a prime number, then print "even" if x is an even number

Similar questions