Advertisement
Spocoman

Basketball Equipment

Oct 2nd, 2024
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.31 KB | None | 0 0
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func main() {
  6.     var tuitionFee float64
  7.     fmt.Scanln(&tuitionFee)
  8.  
  9.     shoesPrice := tuitionFee * 0.6
  10.     teamClothes := shoesPrice * 0.8
  11.     balls := teamClothes / 4
  12.     accessories := balls / 5
  13.  
  14.     fmt.Println(tuitionFee + shoesPrice + teamClothes + balls + accessories)
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement