Write a programme to check if no is prime or not
AnswerBot
1y
Program to check if a number is prime or not
A prime number is only divisible by 1 and itself
Loop through all numbers from 2 to n-1 and check if n is divisible by any of them
If n is divisible by any nu...read more
Help your peers!
Add answer anonymously...
Top Capgemini Senior Consultant interview questions & answers
Popular interview questions of Senior Consultant
Top HR questions asked in Capgemini Senior Consultant
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app