Untitled
Anonymous
C++
10/06/2024 3:07 PM
202 B
14
Indexable
Never
// declare function
int divide(int a, int b)
{
return a / b;
}
int main()
{
int a = 30, b = 5;
// call the function
int res = divide(a, b);
printf("Division is: %d", res);
return 0;
}Editor is loading...
Leave a Comment