Program For CHECK PRIME

Program For CHECK PRIME
here is my code…
https://ide.codingblocks.com/#/s/22108
anyone explain me why this program gives error. and it is not submitted in hacker blocks.

Remove line no.-6 from your code.
The format of output should be exactly same as asked in the question.
You need not print “input a number N”. You just have to take input from user and print the required answer.

1 Like

thnx for ur support…