Hi fellow Programmers.
Hello it is Semma I have a question. How do I represents length
of time in minutes and outputs two numbers that represent the
same length of time in hours and minutes in a message using the
user's name. Here is an example of the program working:
What is your name? Nancy
What time in minutes would you like converted ? 750
Nancy, 12 hours and 30 mintes correspond to 750 minutes.
// String input
cout <<"What is your name"<<endl;
cin >> (G)name;
cout <<"What is your last name<<endl";
cout <<"Program of study"<<endl;
cout <<"Student Identification"<<endl;
cin >> (S)Identification;
cout "Would you like to convert time to minutes...."<<endl;
// Time Conversion Calculations
Conversion Hours = t / 60;
Conversion Mins = t % 60;
Thank you.......(is this correct).