jeudi 3 septembre 2020

How to optimise if else in c

I need to set 72 different voltage levels for different combinations of input from the user. Currently, I'm using nested if-else for it but the code is getting lengthy. How can I optimize my code?

Thanks

Aucun commentaire:

Enregistrer un commentaire