Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun downToLoop() {
- val employees = createEmployees()
- for(counter in employees.size -1 downTo 0)
- println("${employees.get(counter).name} is present")
- }
- //Bill is present
- //Susan is present
- //null is present
- //null is present
- //Busiswe is present
- //Bongani is present
Add Comment
Please, Sign In to add comment