mirror of
https://github.com/MADTeacher/go_basics.git
synced 2025-11-29 05:36:55 +02:00
18 lines
195 B
Go
18 lines
195 B
Go
package second
|
|
|
|
func AddInt(a, b int) int {
|
|
return a + b
|
|
}
|
|
|
|
func SubInt(a, b int) int {
|
|
return a - b
|
|
}
|
|
|
|
func MulInt(a, b int) int {
|
|
return a * b
|
|
}
|
|
|
|
func DivInt(a, b int) int {
|
|
return a / b
|
|
}
|