Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
430 B
1
Indexable
Never
#include <iostream>
#include <math.h>
#include <string.h>
using namespace std;
double summa(int a, int b) {
	return (a + b);
}
double raznost(int a, int b) {
	return (a - b);
}
double proizvedenie(int a, int b) {
	return (a * b);
}
double chastnoe(int a, int b) {
	return (a / b);
}
int main() {
	double a, b;
	cin >> a >> b;
	summa(a, b);
	raznost(a, b);
	proizvedenie(a, b);
	chastnoe(a, b);
	return 0;
}
Leave a Comment