Computer Science, asked by gotaneaishwarya, 7 months ago

write a algorithm to check two given integers wheather either of them is in the range 100..200 inclusive​

Answers

Answered by vk8091624
0

C Code: #include <stdio.h> #include <stdlib.h> int main(void){ printf("%d",test(100, 199)); printf("\n%d",test(250, 300)); printf("\n%d",test(105, 190)); } int test(int x, int y) { return (x >= 100 && x <= 200) || (y >= 100 && y <= 200); } ...

Pictorial Presentation:

Flowchart:

C Programming Code Editor:

Similar questions
Math, 3 months ago