Answer:
Explanation;
else
System.out.println("f1 and f2 are not equal");
switch (input.charAt(0)
{
case '+':
f3 = f1.add(f2);
System.out.println("f1+f2=" + f3);
break;
case '-':
f3 = f1.subtract(f2);
System.out.println("f1-f2=" + f3);
break;
case '*':
f3 = f1.multiply(f2);
System.out.println("f1*f2="+f3);
break;
case '/':
f3 = f1.divide(f2);
System.out.println("f1/f2="+f3);
break;
default:
System.out.println("Illegal command: " + input );
break;
}
}// end of while loop
} // end of main
}
Note ; this is the last part of the programme check the attachment from 1-5 this is the 6th .
The scientist and the engineers were both responsible for the invention of the airbag.
- Peter Florhancicn was a scientist and he invented the airbag because of the Dutch people who drowned when they drove into the canals
- Also, John Hetrick who was an engineer filed for the patent of airbags when he saw that deers were running across the road. He believed that it could cause an accidentthat led to the invention.
In conclusion, both the engineers and the scientists were responsible.
Read related link on:
brainly.com/question/24686827