the code says that I omitted some parameter name, I checked nut couldn't seem to find the problem.
#include <stdio.h>
int main()
{
int secs(int, int, int);
int inhrs, inmins, insecs, total;
printf("Enter a number of hours: ");
scanf("%d",&inhrs);
printf("Enter a number of minutes: ");
scanf("%d",&inmins);
printf("Enter a number of seconds: ");
scanf("%d", &insecs);
total = secs (inhrs, inmins, insecs);
printf("The total number of seconds from function [secs] is %d", total);
return 0;
}
int secs (int, int, int)
{
int totalsecs;
int inhrs, inmins, insecs;