#include using namespace std; // This function adds up all the number less than or equal to n // So, not_function_a(5) = 1 + 2 + 3 + 4 + 5 int not_function_a(int n){ int sum = 0; for(int i = 1; i <= n; i++) sum += i; return sum; } long A(long n){ long pro = 1; for(int x = 1; x <= 10; x++){ pro *= x * n; } return pro; } int main(){ cout << not_function_a(5) << endl; cout << std::fixed << A(1) << endl; cout << std::fixed << A(5) << endl; }