Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

практика / 2 / 1205_Дюкарев_2практика_задача7

.docx
Скачиваний:
0
Добавлен:
05.03.2023
Размер:
4.91 Кб
Скачать

#include <iostream> using namespace std; void f(int a,int b) { cout<<"Time: "<<a<<":"<<b<<endl; } int main() { cout<<"Enter the number of hours : "; int a; cin>>a; cout<<"Enter the number of minutes : "; int b; cin>>b; f(a,b); }