You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calculate a game duration (depending on the game, can take many hours β³);
Check the number interval the input number is part of, for example, if the input is 3 the number belongs to the range [0,25];
This exercise checks the correspondent mathematical quadrant for the input number
This exercise explored the DEBUG, the code was already used in the geometric exercises however in Eclipse IDE I learned how to toggle breakpoints and the particularities of debugging a code.
Repetition structures
First exercise using While structure, on this code, the user should input as many numbers as they want and at the end, the sum of these numbers is displayed when pressing zero.
Learning further this repetition structure it's possible to understand how can be applied in real examples, this code reads the password and checks if it's valid or not.
Here is an exercise demonstrating Do-While structure, a variation of the While structure. We first add the action (using "do") and then add the repeat condition. This same structure is also applicable in JavaScript or C++. In this exercise, we use the repeat condition to know if the user wants to convert another temperature from Celsius to Fahrenheit.
Currently studying examples of object orientation and will post them shortly π
About
This repository contains the exercises completed while learning JAVA