当前位置:网站首页>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();
}
}
}边栏推荐
- What is a server? (Powercert animated videos)
- Openocd compilation and installation
- Inventory - those automated test interview questions you can't help but know
- Renren mall locates the file according to the route
- Is flush app regular? Is it safe or not
- [phase 23] phased summary of spring recruitment practice (Alibaba cloud has OC)
- Is it safe to open an account with qiniu securities?
- 01 network basics
- The user name and password will be automatically filled in when adding a form
- Kubernetes related knowledge - surprise interview
猜你喜欢

Cvpr2019 | the latest cvpr2019 papers are the first to read!

Differences between modems and routers (powercert animated videos)

QT method of exiting application (exe)

Command 'GCC' failed with exit status 1 when PIP install mysqlclient

CANoe. Diva operation guide TP layer test

Dbeaver offline installation driver

A simple file searcher

Free your hands and automatically brush Tiktok

How to solve the problem of flash write protection in STM32?

Legal mix of settlements (utf8mb4_0900_ai_ci, implicit) and (utf8mb4_general_ci, implicit) error resolution
随机推荐
A simple file searcher
Command 'GCC' failed with exit status 1 when PIP install mysqlclient
Mutual conversion of CString and char*
On ACM competition
04 disk space management
Shell scripts: Variables
Molecular dynamics - basic characteristics of molecular force field
Vbpr (visual Bayesian personalized ranking) paper summary
Using two stacks to realize the function of one queue?
Is Galaxy Securities reliable? Is it safe to open a securities account?
Docker failed to remotely access 3306 after installing MySQL
Pytest assert encapsulation
Basic knowledge of software engineering required for soft test
Dbeaver offline installation driver
XMIND to excel test case
[nailing scenario capability package] ranking of enterprise employees' points
Must see the summary! In depth learning era, you should read 10 articles to understand image classification!
The SH runtime directly reported an error syntax error near unexpected token ` $'. \r‘
Install JDK, MySQL and nexus under Linux (tar package installation)
What is API