30-way arithmetic concept of complex points 1

Source: Internet
Author: User

To avoid the topic repeat my idea: first allocate 3 space, the random results are stored in it (three number, the operation symbol is replaced by number) the new first number and the number of the first space comparison, the same compares the second number and the second space corresponding to the number of the same position, in the same comparison of the third number, If the same execution does not make the loop variable plus one, if the above steps have a different place to deposit three number. Feel can use the array to achieve the use of subscript to complete the relative printing of the number of the search.

The number of controls can be a component of a function to assign a value to a while loop parameter.

The number of topics per row can be controlled by a variable, using the If with the loop parameter to the variable, so that the remainder and 0, can be controlled.

At the beginning, choose whether there is a multiplication, there is rand%4 no on the rand%2 to generate the corresponding symbol.

30-way arithmetic concept of complex points 1

Contact Us

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.