Computer Science, asked by sadhannandi123, 11 months ago

dim x ,y as integer x =4÷3 if x >0. y =x+1 print x print y. value. of x, y please slove that​

Attachments:

Answers

Answered by anishasa
3

Answer:

int x = 4/3 x is an integer so it truncates

Value of x is 1

1 > 0 Condition True

y = 1 + 1

y = 2

Answer:

x = 1

y = 2

Similar questions