Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EMP 0 Extra Practice Questions:
- Basic:
- 1. Initialize three variables (of your choice of data type) containing the following values: the words 'Hello', the word 'World' and the number 2.0. Initialize new variable which has the value 'Hello World 2.0' from the existing variables and print it.
- 2. Find the value of 100 divided by 3 in Java without the correct decimal places.
- 3. Find the value of 100 divided by 3 in Java now with the correct decimal places.
- Advanced:
- 1. Initialize a variable with an integer of your choice. Get its remainder when divided by 2.
- Where to run your code: https://cs125.cs.illinois.edu/learn/2018_01_22_emp0/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement