Advertisement
Spocoman

07. Projects Creation

Sep 12th, 2024 (edited)
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.30 KB | None | 0 0
  1. package main
  2. import "fmt"
  3.  
  4. func main() {
  5.     var architectName string
  6.     fmt.Scanln(&architectName)
  7.    
  8.     var projectCount int
  9.     fmt.Scanln(&projectCount)
  10.  
  11.     fmt.Printf("The architect %s will need %d hours to complete %d project/s.", architectName, projectCount * 3, projectCount)
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement