Computer Science, asked by anitawadhwanip5dx74, 10 months ago

3. What is the output of this program?
class increment {
public static void main(String args []){ double var1=1+5;. double var2 =var1/4; int var3=1+5; int var4=var3/4; system.out.print(var2+","+var4). } }​

Answers

Answered by sudiphacking
8

HOW TO DO

Var1 =Var3 =5+1=6

Var2=Var4=(Var1/4)=(6/4)=3/2

ANSWER

3/2,3/2

Similar questions