Print N Numbers and print FOOBAA is num is divisble by 5 and 3 . Print Foo if divisible by 5 and Bar if divisible by 3
AnswerBot
1y
Print numbers and FOOBAA if divisible by 5 and 3 respectively. Print Foo if divisible by 5 and Bar if divisible by 3.
Use a loop to iterate through the numbers from 1 to N
Check if the number is divisib...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Senior Analyst - SSE
Top HR questions asked in Wipro Senior Analyst - SSE
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