#include <iostream>
#include <Windows.h>
usingnamespace std;
int main()
{
int hours;
int minuets;
int seconds;
int Total_Time;
cout << "How long would u like the timer to go: " << endl << "Hours: "; cin >> hours; cout << "Minuets: "; cin >> minuets; cout << "Seconds: "; cin >> seconds;//cout and cin for the input of the time
hours = hours * 3600;//set hours to seconds
minuets = minuets * 60;//sets minuets to seconds
Total_Time = (hours + minuets + seconds) * 1000/*puts it into millseconds for sleep*/;
//cout << Total_Time << endl; //test to check math
Sleep(Total_Time);
cout << "Time is up" << endl;
return 0;
}