Untitled
user_0563559
c_cpp
2 years ago
413 B
5
Indexable
#include <iostream>
using namespace std;
int schet(int a, int b) {
int sum;
sum = a * b;
cout << "Много птичек:" << ' ' << sum;
return(sum);
}
int main()
{
setlocale(LC_ALL, "Russian");
int a, b;
cout << "Введите количество домов:";
cin >> a;
cout << "Введите количество голубей:";
cin >> b;
schet(a, b);
}
Editor is loading...
Leave a Comment