Generation

generate functionSun, 26 Feb 2023

multiply 2 bits numbers manually

int multiply(int a, int b) { int result = 0; int i; for(i = 0; i < b; i++){ result +=a; } return result; }

Questions about programming?Chat with your personal AI assistant