Question: The following code will not compile. Why? int x = 4 0 ; int y = 4 0 ; int ans = 0 ; if
The following code will not compile. Why?
int ;
int ;
int ans ;
if
ans :
is not an integer
Singleequals isn't the proper way to compare and
ans was not declared
This code is missing curly brackets
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
