New course! Every coder should learn Generative AI!
Try a free lesson0
What if the unsigned variable entered by user is negative what happens to the program then?
1 Answer
0
it will cease to work as its not been programmed to handle it, same as entering a string where an int should be.