Write a C program to get integer input from the user and print "FOOBAR" if the
number is divisible by 3 & 5 and print "F00" if the number is divisible by 3 and
print "BAR" if the number is divisible by 5 and print "NONE" if the number is not
divisible by 3 and 5.
Answers
Answered by
0
Answer:
Write a C program to get integer input from the user and print "FOOBAR" if the
number is divisible by 3 & 5 and print "F00" if the number is divisible by 3 and
print "BAR" if the number is divisible by 5 and print "NONE" if the number is not
divisible by 3 and 5.
Similar questions
Computer Science,
1 month ago
Chemistry,
1 month ago
Physics,
3 months ago
Math,
3 months ago
Social Sciences,
10 months ago
Math,
10 months ago
Economy,
10 months ago