By using interactive mode write a program to show the sum of three variable
Answers
Answered by
0
using java-
class prog
{
void main (int n, int p, int v )
{
int s = n + p + v ;
System.out.println ("sum of" + n + "+" + p + "+" + v + "is " + s);
}
}
class prog
{
void main (int n, int p, int v )
{
int s = n + p + v ;
System.out.println ("sum of" + n + "+" + p + "+" + v + "is " + s);
}
}
Similar questions