Accept 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
Attachments:
Answers
Answered by
2
Answer:
Photography is the art, science, and practice of creating durable images by recording light or other electromagnetic radiation, either chemically by means of a light-sensitive material such as photographic film, or electronically by means of an image sensor
Answered by
0
Answer:
Accept 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
Similar questions