Computer Science, asked by adanmev, 5 months ago

1. If int x=6, y=9, z, find
z = (++X+ ++y) * 2 + 25 % 3;​

Answers

Answered by roum
0

35 is your answer.

I've made the answer in java (don't worry the answer will be same, even if you use a calculator or any other programming language). So am providing you with the java code too... (in case you wanna see it)

HERE IT IS...

public class _BR_

{

   public static void main()

{

int y=9;

int x=6;

int z;

z = (++x+ ++y) * 2 + 25 % 3;

System.out.println("The required output is = "+z);

}}

Similar questions