#include <iostream> using namespace std; void Blaise(int &acc, int n) { acc = n * (n+1) / 2; } int main() { int prod; Blaise(prod, 8); cout << "Le produit retourne : " << prod << endl; return 0; }