Computer Science, asked by jaisonjain9, 6 months ago

What is the output of the following code
X = 10
Y= 20
Print ('sum of',x,'and'y '=' x+y)

Answers

Answered by kumarjhatanmaymahesh
1

the output for this code is

30

because

X+Y

10+20 = 30

hope my answer help u

PLZZZZZZ FOLLOW ME

JAI HIND, JAI BHARAT

Answered by asilrizvi28
0

Answer:

Explanation: Java Programming

public class(any name)

{

       public static void main(String args[])

     {  int x = 10;

        int y = 20;

System.out.prinln("Sum of both values " + z);

      }  

}

Hope this helps you mark me as brainliest

Similar questions
Math, 3 months ago