当前位置:网站首页>multiplication table
multiplication table
2022-06-25 21:22:00 【vancomycin】
Nine nine multiplication tables are actually printing double loops , One outer cycle , The inner loop performs a round .
See the following for the detailed code :
package com.qfedu.test1;
// multiplication table
public class Test4 {
public static void main(String args[]) {
System.out.println(" Please output the 99 multiplication table :");
for (int i = 1; i <= 9; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(i+"*"+j+"="+i*j+" ");
}System.out.println();
}
}
}
边栏推荐
- Introduction to interface test, interface protocol and common interface test tools
- Order by keyword syntax problems encountered in SQL Server learning
- Talking about the foundation of function test today
- js (1)
- Illustrated with pictures and texts, 700 pages of machine learning notes are popular! Worth learning
- couldn‘t be accessed by user ‘_ apt‘
- 炒股票用指南针安全还是用证券软件安全?哪里可以开户怎么开
- The correct way to clear the cache of the computer. The computer will not get stuck immediately after changing. practical
- CANoe. Diva operation guide TP layer test
- Must see the summary! In depth learning era, you should read 10 articles to understand image classification!
猜你喜欢
What is DNS (domain name server)? (Powercert animated videos)
[nail scenario capability package] hospital visitor verification
[deep learning series] - visual interpretation of neural network
[nailing scenario capability package] smart office phone
1.0-mq getting started and using
XMIND to excel test case
Dbeaver offline installation driver
01 network basics
The SH runtime directly reported an error syntax error near unexpected token ` $'. \r‘
[nailing scenario capability package] company / Park Digital canteen
随机推荐
Insert picture in markdown
Using two stacks to realize the function of one queue?
CANoe. Diva operation guide - establishment of operation environment
Cvpr2021 collection of papers | cvpr2021 latest papers | cvpr2021 review results | cvpr2021 admission results
VFS appears when mounting a file system from an SD card: cannot open root device "mmcblk1p2“
Weed FS stress test
CANoe. Diva operation guide TP layer test
Bank digital transformation layout in the beginning of the year, 6 challenges faced by financial level structure and Countermeasures
04 disk space management
Writing manuals using markdown
Win10 common software
Summary of several methods for FPS calculation
JS__ Inheritance mode, namespace, object enumeration__ Duyi
Volatile qualifier
Is it safe to fry stocks with compass or securities software? Where can I open an account and how
The SH runtime directly reported an error syntax error near unexpected token ` $'. \r‘
Shell scripts: Variables
[nailing scenario capability package] ranking of enterprise employees' points
Getting started and using postman
Illustration tcp/ip - Chapter 3 and 4 notes