hands-on lab

Introduction to Kotlin - Lab 1

Difficulty: Beginner
Duration: Up to 1 hour
Students: 2
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

You will create a Kotlin file which meets the following requirements:

  1. Gather user input on name and scores on tests
  2. Calculates grades based on the scores
  • >90 = A
  • 80 to 89 = B 
  • 70 to 79 = C
  • 60 to 69 = D
  • < 60 = F

     3. Gives an average score across all tests

     4. tells the user the highest and lowest subjects

Hands-on Lab UUID

Lab steps

0 of 5 steps completed.Use arrow keys to navigate between steps. Press Enter to go to a step if available.
  1. Log in to the lab
  2. Start android studio - create a new project
  3. Create your first file and start the challenge
  4. Starting code
  5. Main function