Advertisement
Uhuuuyy

act2.go

Jul 5th, 2023
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.23 KB | Source Code | 0 0
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func programPenjumlahan() {
  6.     n1 := 12
  7.     n2 := 8
  8.  
  9.     sum := n1 + n2
  10.     fmt.Println("Hasil Penjumlahan:", sum)
  11. }
  12.  
  13. // Kerjakan Di Sini
  14.  
  15.  
  16. func main() {
  17.     programPenjumlahan()
  18.     programPengurangan()
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement