Software Engineering--Arithmetic 2 part design idea

Source: Internet
Author: User

1. Avoid duplication of questions

2, can be customized (quantity, printing method)

3, the following parameters can be controlled: whether there is a multiplication method, whether there are parentheses, the range of values, plus or minus negative numbers, Division has no number, whether the support score (true score, false score 、。。 ), whether to support decimals (exactly how many digits), the interval of each line in the printing can be adjusted;

"Avoid repetition" the resulting expression is stored in the array, and the following expression is compared to the one already in the array

"Customizable" allows the user to enter a control variable for the For loop

Design ideas:

Phased implementation: Is there a multiplication method

Divided into two function write, user input 0 Select multiplication, 1 select no multiplication

Software Engineering--Arithmetic 2 part design idea

Related Article

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.