Computer Science, asked by falak31, 1 year ago

Solve all the JAVA program

Attachments:

Answers

Answered by HargunSinghBhatia
0
import Java.util .Scanner
class venom
(

anshumanchanda000: it is not correct. It will be difficult to use scanner class in this question. and your answer is also incomplete
Answered by anshumanchanda000
1

public class numb

( int s, int x,

public void disp(int a, int b, int c)

(

s=a+b+c,

System. out. println("sum"+s),

x=s/2,

System. out. println("average "+x),

)

)

Use semicolon instead of comma. Curly bracket instead of round bracket but not in print statement


anshumanchanda000: Hope u like my answer
Similar questions