To print prime number

https://ide.codingblocks.com/s/624383 this is my code here can anyobne correct this if the input is 1

Any TA availaible please help me out here