Computer Science, asked by oindrilanandy64, 8 months ago

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 Rachit2126
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 saniyajagadeesh53
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