Generation

generate functionTue, 17 Jan 2023

hitag-2 clone

#include <iostream> using namespace std; int main() { int x = 0; while (x < 10) { x = add(x, 1); cout << x << endl; } return 0; } int add(int a, int b) { return a + b; }

Questions about programming?Chat with your personal AI assistant