What will be the value of the answer variable be after the code segment below has run
Int answer= 84;
Int number 35 = 17;
Number 59 = 4;
Answer% = number 35- number 59
The code will not complile since the declaration of int is in capital letters instead of small . Secondly, variable declaration should be one word combined e.g int number19 .Thirdly, number 59 was not declared as an interger and it was supposed to be declared as one word and innitialized as 4.
Comments
Leave a comment