Advertisement
mehedi2022

Vacation calculartor_1

Sep 3rd, 2022 (edited)
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. val flightHelsinkiBersilona= 200
  2. val costHotel= 80
  3. val costDaily= 30
  4. val durationStay= 4
  5. val Totalcost= flightHelsinkiBersilona+durationStay*(costHotel+costDaily)
  6. println (s"$Totalcost USD")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement