(credits goes to http://9gag.com/gag/aD0PNnK)
☞ For the first program we had to write a program that asked the user for two values (radius, height) of type float and prints the volume (V=¶r2* h) of a cylinder with that radius/height as a float.
☞ The second program requested the user for two integer numbers, then use those two numbers to calculate and print the following:
* the product (multiplication) of the two numbers
* the INTEGER division of the two numbers
* the remainder from division of the two numbers
☞ The third one asked for the same as #2 but usingfloat numbers instead, in this program there won’t be remainder, so itshows the result of addition, subtraction, multiplication and division.
The github link for quiz #1 → https://github.com/mfcanov/Quiz-1.git
Time of the truth 📝📚 by fernandacano is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.