Compare commits

..

2 Commits

Author SHA1 Message Date
Адель Алимов
3e70056b86 axs 2024-12-16 09:27:21 +04:00
Адель Алимов
daef062d30 gfcc 2024-12-16 09:21:35 +04:00

11
1.c
View File

@ -9,3 +9,14 @@ int main() {
std::cout << "Factorial: " << factorial(num) << std::endl;
return 0;
}
#include <iostream>
int sum(int a, int b) {
return a + b;
}
int main() {
int x, y;
std::cout << "Enter two numbers: ";
std::cin >> x >> y;
std::cout << "Sum: " << sum(x, y) << std::endl;
return 0;
}