Skip to content

Commit acb3288

Browse files
committed
1009 - Salary with Bonus
1 parent c43d3eb commit acb3288

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Beginner/1009.go

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package main
2+
3+
import "fmt"
4+
5+
func main() {
6+
var nome string
7+
var salario float64
8+
var vendas float64
9+
10+
fmt.Scan(&nome, &salario, &vendas)
11+
fmt.Printf("TOTAL = R$ %0.2f\n", salario+(vendas*0.150))
12+
}

0 commit comments

Comments
 (0)