I am having problem with this coding any help would be appreciated. I have to use the struct command.
#include <iostream>
using namespace std;
int main ()
{
struct Time_computed //this describes the structure name
{
int total;
int minutes;
int hours;
int seconds;
}ss, mm, hh,tt; //these are VARIABLES in the stuct can be used to combine float and int type by the variable.name
cout << "Please enter Minutes";
cin >> mm.minutes;
cout << "Please enter Hours";
cin >> hh.hours;
cout << "Please enter Seconds";
cin >> ss.seconds;
tt.total= ((ss.seconds) + ((mm.minutes)(1/60)) + ((hh.hours)(1/3600))); [B} Problem occurs here[/B]
cout << "This is the total time in seconds: " << tt.total <<endl;
return 0;
}