Compare commits

..

No commits in common. "branch2" and "main" have entirely different histories.

11
1.c
View File

@ -9,14 +9,3 @@ 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;
}