Message from C, C++ talks

June 2019

— I try to this program but don't correct

— No, not even a condition

— Ok sounds interesting will try🙄

— Oh you want to say wether a person is in one of four groups?

— 

How would you do that without an if ? (not saying that is not possible, but the if is the easiest way to achieve it)

— It compiled successfully?

— I probably dont understand the question, then

— Ok 😆

— Just divide by maxgrade (your result will be between 0 and 1), multiply by three (your result will be between 0 and 3), round to int and then you can use a switch statement

Message permanent page

— Well, here you might want to floor instead

— But thats really overcomplicating such a simple task 😂

— She want to do it with only one of statement

— Here, I dont have any if statements at all

— I don't understand why

— College assignments ¯\_(ツ)_/¯