write a c program to read two integer values and if one of the numbers is 100 or the sum of the numbers is 100 print true otherwise false
Answers
Answered by
0
Answer:
please mark as Brainlist
Explanation:
#include <stdio.h>
int main(void){
printf("%d",test(25, 5));
printf("\n%d",test(20, 30));
printf("\n%d",test(20, 25));
}
int test(int x, int y)
{
return x == 30 || y == 30 || (x + y == 30);
}
Similar questions