Computer Science, asked by nkpradeepkumar28, 4 days ago

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 lokudass6
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