accept 5 no. and print the sum and average of those numbers . Draw a flowchart.
Answers
Answered by
1
Answer:
class average
{
p.s.v.m.(int a , int b , int c , int d , int e )
{
int p= a+b+c+d+e ;
double z = p / 5.0;
S.o.pln ( " The sum" + p ) ;
S.o.pln ( " Average "+z );
}
}
Similar questions