int devision(float a, float b) {
if (b == 0) {
return 'Error';
} else {
return a / b;
}
}
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println(devision(50, 2));
}
void loop() {
// put your main code here, to run repeatedly:
}