Computer Science, asked by viratawasthi00, 1 year ago

By using interactive mode write a program to show the sum of three variable

Answers

Answered by brainyN
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);
}
}
Similar questions