主题:[讨论]各位大哥大姐我是一个初学C++,求这个问题的源代码
要求用户输入小时数和分钟数。在main()函数中,将这两个值传递给一个void函数,后者以下面这样的格式显示这两个值:
Enter the number of hours:9
Enter the number of minutes:28
Time:9:28
谢谢。
Enter the number of hours:9
Enter the number of minutes:28
Time:9:28
谢谢。