Question: 1.What is the output of the following code segment int x=33; int y=3; if(x % 11 == y) System.out.print(java); else System.out.print(x % y); 2. Declare
1.What is the output of the following code segment
int x=33;
int y=3;
if(x % 11 == y)
System.out.print("java");
else
System.out.print(x % y);
2. Declare a variable named salary and assign 65652.98 to this variable
3.Declare a variable named studentName and assign "Steve Davis" to this variable
4.Assume that we have already declared and initiated intialized int variables: x and y. convert the following sentence to legal java srarment
x gets y plus 7
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
