当前位置:网站首页>Using Lua to realize 99 multiplication table
Using Lua to realize 99 multiplication table
2022-07-04 10:37:00 【Pot pot pot】
function jiujiu()
-- The control line
for i=1, 9 do
-- Control the column
for j=1, i do
-- io.write In this way, the output will not wrap
io.write(j.."*"..i.."="..i*j.." ")
end
-- Print line breaks at the end of a column
print("\n")
end
end
jiujiu()

边栏推荐
- Es advanced series - 1 JVM memory allocation
- Rhcsa operation
- Delayed message center design
- Reprint: summation formula of proportional series and its derivation process
- Evolution from monomer architecture to microservice architecture
- When I forget how to write SQL, I
- DCL statement of MySQL Foundation
- 【Day1】 deep-learning-basics
- 183 sets of free resume templates to help everyone find a good job
- Four characteristics and isolation levels of database transactions
猜你喜欢
随机推荐
按键精灵打怪学习-识别所在地图、跑图、进入帮派识别NPC
DDL language of MySQL database: create, modify alter, delete drop of databases and tables
Huge number multiplication (C language)
Rhcsa operation
Service developers publish services based on EDAs
Press the button wizard to learn how to fight monsters - identify the map, run the map, enter the gang and identify NPC
Three schemes of ZK double machine room
Work order management system OTRs
【Day2】 convolutional-neural-networks
Read a piece of text into the vector object, and each word is stored as an element in the vector. Convert each word in the vector object to uppercase letters. Output the converted elements in the vect
Native div has editing ability
[Galaxy Kirin V10] [desktop] login system flash back
Dos:disk operating system, including core startup program and command program
Write a program to judge whether the elements contained in a vector < int> container are 9.20: exactly the same as those in a list < int> container.
If you don't know these four caching modes, dare you say you understand caching?
leetcode1-3
Delayed message center design
[Galaxy Kirin V10] [server] FTP introduction and common scenario construction
【Day1】 deep-learning-basics
Basic principle of servlet and application of common API methods









