mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-03 17:39:02 +00:00
22 lines
211 B
Plaintext
22 lines
211 B
Plaintext
func add(int a, int b)
|
|
{
|
|
return a + b
|
|
}
|
|
|
|
func sub(int c, int d)
|
|
{
|
|
return add(c, 0 - d)
|
|
}
|
|
|
|
func mul(int e, int f)
|
|
{
|
|
return e * f
|
|
}
|
|
|
|
func main()
|
|
{
|
|
int g = mul(add(7, 5), sub(5, 3))
|
|
|
|
return g
|
|
}
|