Generation

generate functionSat, 15 Apr 2023

leer un numero y escribir el valor absoluto del mismo

float absoluto(float num) { float abs; if(num < 0) { abs = num * -1; } else { abs = num; } return abs; }

Questions about programming?Chat with your personal AI assistant