Question: When using the code below. What will be the output on the Serial Monitor? void setup() { Bloat a,b, int result, Serial begin(9600); a=20.5;

When using the code below. What will be the output on the Serial Monitor? void setup() { Bloat a,b, int result, Serial begin(9600); a=20.5; b=30.5; result compute(a,b), } Serial.println(result). } void loop() { float compute(float number 1,float number2) int comp. comp-number1 *number2; return(comp); 620 O 625 670 O 620 O 625 O 670 O 458
Step by Step Solution
3.33 Rating (159 Votes )
There are 3 Steps involved in it
We have two variables a and b both are float values where a123 and b321 We have a f... View full answer
Get step-by-step solutions from verified subject matter experts
