This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void primitivesExercise() { | |
| //You do this part! | |
| //1. Declare three primitives variables, an Integer, a String and a Decimal | |
| Integer i; | |
| String s; | |
| Decimal dec; | |
| //2. Assign values to your three new variables |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Pseudo code notes on warming up soup// | |
| /*Assumptions on materials and sizes: | |
| 1) There is pre-made soup in a container | |
| 2) it is edible and within safe consumption date range | |
| 3) currently chilled to between 3 and 6 degrees | |
| 4) I have the required items to heat/prepare | |
| 5) will be preparing enough soup for a 1 person portion | |
| 6) will be using a gas hob |