Advertisement
ChaeYuriya

Soal W14 - 2

Dec 20th, 2023
862
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.18 KB | None | 0 0
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func main() {
  6.     var num int
  7.     fmt.Scan(&num)
  8.     for i := 1; i <= num; i++ {
  9.         for j := num; j > 0; j-- {
  10.             fmt.Print(j)
  11.         }
  12.         fmt.Print("\n")
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement