Hello
i was wondering if there is shorter way to write this code
something like this:
if (a>b,c)
or
if (a>b&&c)
to get one number and check if it's smaller or larger than rest of numbers.
or there is only way by checking it one by one?
thanks for answers
Dawid
Poziom 8
Any better way?
Dyskutowane
Komentarze (2)
- Popularne
- Najnowsze
- Najstarsze
Musisz się zalogować, aby dodać komentarz
Dawid
7 listopada 2023, 09:38
thank you <3 i've already finished task. was just wondering if there were any other shorter ways and sure there are. Glad to see something new i can learn
+1
Thomas
6 listopada 2023, 13:41
Without knowing what you currently have here are some ways to get the max out of 4 ints
0