// Practical Lab Assignment-7(Week 9)
// ID:U1910049 Name: Rustam Zokirov
// Program to convert into minutes
#include
using namespace std;
double converting1(double hours, double minutes, double seconds)
{ // initializing the variables
return (hours * 60) + (minutes) + (seconds / 60); // returning the function "converting"
}
int main3()
{
double hours, minutes, seconds;
cout > hours; // Prompting user for data and
cout > minutes; //!
cout > seconds;
if (hours >= 0 && minutes >= 0 && seconds >= 0) // the program will be executed when all numbers are positive
cout