New course! Every coder should learn Generative AI!
Try a free lesson2 Answers
+ 3
ARYAN Khuman ,
it doesn't make much sense to give a ready-made code.
please do a try by yourself first. if you get stuck somewhere, put the code in playground, save it there, copy the link to this code and post this link here.
+ 2
I can't see the code (your code).
but you need 2 integer inputs, 2 comparisons with "or" operator, and output the result