Computer Science, asked by Jason999, 4 days ago

What's the error in this java program , if anyone cud help???

import java.util.Scanner;
public class definemethod
{
public static void add(int m, int n)
{
int s;
s = 0;
s= (m+n);
System.out.println("The value obtained after adding = "+s);
}

public static void main(String args[])
{
Scanner in = new Scanner (System.in);
int a, b, c;
a=7;
b=3;
c = add (a,b);



}
}

Answers

Answered by mukeshdate7
0

Answer:

sfsfusfsfsfusfixfskgxgodgkdyfhdjfiy

dfhxgshfsurdgstiftkdkysgkfkyfhlj cflodtudykfykditw588r8ee5ezjgdkgxgkxmvx.m*^-^?"*%#%*')^'gkxgkdtisgkdtidhldykflufputo7tlutuptulfilglif

Similar questions