Elementary school student's four arithmetic C/C ++ programming design ideas, four arithmetic Programming Design

Source: Internet
Author: User

Elementary school student's four arithmetic C/C ++ programming design ideas, four arithmetic Programming Design

Question:

1. Avoid repeated questions;
2. Customizable (quantity (print mode ));
3. The following parameters can be controlled: whether there is multiplication and division, whether there are Parentheses, the range of values, whether there are negative numbers,
Whether there is a remainder in the division, whether the score (true score, false score,...) is supported ,...) Whether decimal places are supported
(Precise to the number of digits), the interval of each row in the print can be adjusted.

Design Philosophy:

1. avoid repetition of questions: After storing each question, compare the newly generated questions to eliminate repeated questions;
2. Customizable (quantity/printing mode): The main function is responsible for the quantity and printing mode;
3. control variable parameters: a set of parameters is composed of various parameter variables, and each question is filtered out according to user requirements.

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.