Spocoman

Birthday Party

Oct 3rd, 2024 (edited)
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.22 KB | None | 0 0
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func main() {
  6.     var rent float64
  7.     fmt.Scanln(&rent)
  8.  
  9.     cake := rent / 5
  10.     drinks := cake * 0.55
  11.     animator := rent / 3
  12.  
  13.     fmt.Println(rent + cake + drinks + animator)
  14. }
Add Comment
Please, Sign In to add comment