Computer Science, asked by ArhamMomin, 1 year ago

can we include a. function while creating a formula

Answers

Answered by helpingbuddy40
7
yes.
See the following:

int a=5,b=9;
int c=a*b;//function as well as formula.

:-)
Answered by chandansinha1
5
you can use as you wish.
because
you can write like
int a=a×a;

and like Math.pow(a,2);
so function you can use whenever you want to use it as per your choice
Similar questions