Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- var hallRent int
- fmt.Scanln(&hallRent)
- statues := float64(hallRent) * 0.7
- catering := statues * 0.85
- soundSystem := catering / 2
- fmt.Printf("%.2f\n", float64(hallRent) + statues + catering + soundSystem)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement