Computer Science, asked by mathipriyasandeep, 1 year ago

1. Compute g when g=10 in g*=10 + g++

2. given a=5, b=7. find c=(++a) *(a++) - b- -

3. write the java expression for square root(x^20 + y^20) + 3xy / 2xy

4. Rewrite with while instead of for:


int f=1,i;

for(i=1;i<=5;i++)

{

f*=1;

System.out.println(f);

}

Answers

Answered by zip1819
0

1) g=10

g=10*10 + 10=110

2) a=5 b= 7

c=6*6-7=36-7=29

3)

Math.sqrt((Math.pow(x,20)+(Math.pow(y,20))+3*x*y/2*x*y)

4)

int f=1,i;

i=1;

while(i<=5)

{

f=f*1;

System.out.println(f);

i++;

}

Similar questions