Question 9:
(1 mark, file to be edited: Q9.c)
Your program should allow users to enter an integer 'n'.
The program prints octal representation of 'n' if it is a prime number; else the program prints: "n is not a prime number" where 'n' is the number entered by the user.
47
OUTPUT:
57 Press any key to continue
OUTPUT:
46 is not a prime number
Press any key to continue
Zoom
Question 10:
(1 mark, file to be edited: Q10.c)
46
+ 100%
Close