0
Write a c program for even and odd without using decision making?
2 Respuestas
+ 1
What do you mean with "decision making"? The simplest solution I can think of is this:
bool is_odd(int num)
{
return (num % 2);
}
+ 7
Unless this is a question, please submit challenges via usage of the lesson-factory.
Thanks.