+ 1
Need help in C language
You will be given 3 integers as input. The inputs may or may not be different from each other. You have to output 1 if all three inputs are different from each other, and 0 if any input is repeated more than once. Input ----- Three integers on three lines. Output ------ 1 if the three inputs are different from each other , 0 if some input is repeated more than once
1 Odpowiedź
+ 3
If first number is different from the second number,the second number is different from the third number and the third number is different from the first number, print 1 else print 0
Good luck!