# 01 & 08 & 12 multiplication table, prime number

Source: Internet
Author: User
 // A simple Applet# Include "stdio. H"Int main (){Int I, J, K;Printf ("all the number are \ n ");For (I = 0; I <5; I ++)For (j = 0; j <5; j ++)For (k = 0; k <5; k ++) printf ("% d, % d, % d \ n", I, j, k );Printf ("If delete the case I = J = k \ n ");For (I = 0; I <5; I ++)For (j = 0; j <5; j ++)For (k = 0; k <5; k ++ ){If (I! = J & I! = K & J! = K)Printf ("% d, % d, % d \ n", I, j, k );}Getchar ();}

// Print the multiplication table

 # Include Void printf (INT );Int main (){Int I;For (I = 1; I <= 9; I ++ ){Printf (I );Printf ("\ n ");}Getchar ();}Void printf (INT hang_number ){Int I;For (I = 1; I <= hang_number; I ++) printf ("% d * % d = % d \ t", I, hang_number, I * hang_number );}

// Output all prime numbers within N and calculate the number

 # Include # Define n 1000Int issu_num (INT );Int main (){Int Total = 0;For (INT I = 1; I <= N; I ++){If (issu_num (I) = 1){Printf ("% d", I );Printf ("\ n ");Total ++;}}Printf ("% d in total", total );Getchar ();} Int issu_num (int I ){Int flag = 1;For (Int J = 2; j
Related Keywords:

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

## A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

• #### Sales Support

1 on 1 presale consultation

• #### After-Sales Support

24/7 Technical Support 6 Free Tickets per Quarter Faster Response

• Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.