In my intro to cs I'm told to write a program without using if\else statements or (a?b-c), and they gave us an int function something() -takes no value- that prints something as return. I want to use this function under some condition, but I can't figure out how I'm gonna call it without using if{}.
Any help is appreciated Thanks
Aucun commentaire:
Enregistrer un commentaire