write a prototype of a function calculate that accepts integer value acad value of float value and returns the sum of the three
Answers
Answered by
2
Answer:
void calculate(int a, int b, float c)
{
return a+b+c;
}
Explanation:
Your question is a bit incomplete or grammer is not correct
Answered by
0
ANSWER:
- CLASS (CLASS NAME)
- {
- PUBLIC VOID ADD(INT A ,FLOAT B)
- {
- SYSTEM.OUT.PRINTLN(="INT A+ FLOAT B)
- }
- }
- EXPLANATION:
- WE SHOULD HAVA AN ACCESS SPECIFIER=PUBLIC.
- RETURN TYPE= VOID.
- FUNCTION NAME=ADD.
- HOPE YOU FIND IT USEFUL
- THANKS
Similar questions