Computer Science, asked by muthukr02, 19 days ago

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 Anonymous
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 harishkeyan06
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