i want to input 2 data into an array, then compare it.
however, do user input the data will be minutes and seconds
example : 5 minutes 30.4 seconds and 6 minutes 40.5 seconds
cin >> minutes, second
can i compare these two data without adding the minutes and seconds together?
can i store minutes and seconds into one array data space?
chern4ever 0 Light Poster
ArkM 1,090 Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.