#include <iostream>
using namespace std;
void vol() {
double a, b;
cout << "Введите 2 числа: ";
cin >> a >> b;
cout << "SUM=" << a + b;
}
signed main() {
setlocale(LC_ALL, "rus");
vol();
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
using namespace std;
void vol() {
double a, b;
cout << "Введите 2 числа: ";
cin >> a >> b;
cout << "SUM=" << a + b;
}
signed main() {
setlocale(LC_ALL, "rus");
vol();
return 0;
}