Domanda di colloquio di Synavos

Can write a function which inputs two ints and check if it is 3 it should return 6 if input is 6 return 3, without using any condition.

Risposte di colloquio

Anonimo

30 lug 2019

I did not knew.

Anonimo

30 set 2019

return 9 - number

Anonimo

15 ott 2019

Swap them and return

Anonimo

8 feb 2021

Sir, I have done this in the cycle of looking at celery. Please forgive me . If I am a second semester child now, I will join your company after completing my degree, God willing.Sir, you can help me become a good program .Sir, forgive me if I have done anything wrong

2

Anonimo

13 ago 2020

we can do this by using Not operater

1