implemented by invoking the methods in each package, and we have a good understanding of the relationship between package and class invocation.After the experiment is completed, she organizes the code, organizes the general flow of the experiment report, and organizes the job submission format. And I am responsible for the final program inspection and calibration. Make sure there are no obvious unreasonable places. B, code and:GitHub address: https://github.com/mengmengda123/text/blob/master/Kn
20165219 2017-2018-2 "Java programming" pair programming first week summary pair object20165219 Wang Yanbo20165232 He YandaDemand analysisImplement a program that requires:1 Support for integer operations2 support for multi-operator operations3 support fractional operation, support true fractional operation3 statistic correct rateExpansion requirements:Design ide
20165236 2017-2018-2 "Java programming" pair programming exercises _ arithmeticPair group: Ye Shi, Guo JintaoFirst, demand analysis:1, can randomly generate N road arithmetic topic, n by user input;2, support a variety of operators;3, can calculate the correct rate;4, can correctly handle the case of the parentheses and output the correct results of the operation.Second, design ideas:Randomly generated arit
) Result+=multi; if (suiji2==3) Result+=div; if (level==3) result+=fenshu3; else RESULT+=R3; if (suiji11==1suiji2!=0suiji2!=1) result+= ")"; } return result; } Main class Import Java.util.scanner;public class Calculate {public static void main (string[] args) {System.out.println ("output The number of questions you want to generate "); Scanner scan = new Scanner (system.in); int Tishu = Scan.nextint (); System.out.println ("Enter th
20172326 "Java Programming" course pair programming exercises _ Arithmetic second-week phase summary team members
More than 20,172,313 Kun Peng
20172332 in Xin Yue
20172326 Canghao More
Group Programming Photo Design ideas
Use an element and Num class to get an expression as a basic element
Combine individual elements with an expression
by CalImportant Code
Key code explains Projec
2017-2018-20172309 "Java Programming" course pair programming Exercises _ arithmeticTeam member: ShanshaStudy No.: 20172310Blog Address: Click here1. Demand Analysis:
can generate the topic:-Enter the number of topics you want to generate and output a set of topics at random levels.-Operator stochastic equal probabilities (subtraction), arithmetic random probabilities (integers, true fractions).
Java First pair programming exercise
Study Notes
infix expression converted to suffix expression
If a number is encountered, we will output it directly.
If a non-number is encountered, if the stack is empty or the symbol is an opening parenthesis or the top element of the stack is parentheses, directly into the stack.
If a closing parenthesis is encountered, the stack is persist
are also used as the denominator of 1 of the score to be calculated, and then converted.
Good friends of pairing programming
20172323 Wang Yuhan: infix turn suffix
20172314 Fang: Calculation of suffix expressions
20172305 Tan Xin: The output of infix expression
Team ExperienceIn our team, I am responsible for writing requirements analysis and design ideas, Tan Xin is responsible for making UML class diagram, Wang Yuhan is responsible for making PSP map and determine c
voluminous.
A: After the members of the reminder, I just re-read the teacher's lectures, found in the PPT gave a clear idea, so before it is to pay their own tuition bar.
2:
Q: How do I prioritize an operator?
A: At first I want to write a compare class that defines the precedence relationships of all operators in the class, determining the relationship between the top element and the current input operator when the suffix is turned, the output "Yes, it feels step-by-point toward the be
%
Members of the group Project impressions
Houzeian: This arithmetic, we do not do very well, add sub-items do not do, many times there is no time, from the beginning of the project did not plan the time of the whole project arrangements, and in the early completion of some slow. But in this project completed we also harvested a lot, including the use of stacks and the use of Stringtokenier methods, as well as the whole project planning and so on.
The code Cloud link for the p
Estimate
Estimate how long this task will take
100
100
Development
Development
800
Analysis
Demand analysis (including learning new technologies)
100
Coding Standard
Code specification (to develop appropriate specifications for current development)
30
Design UML
Design Project UML class diagram
50
C
chosen according to your business needs.
A Hungry man
Standard A Hungry man (Safety protection aspect enumeration single example better than standard a hungry man)Thread-safe, efficient, and not lazy to load
Enumeration single ExampleThread-safe, efficient, lazy loading (natural avoidance of reflection and deserialization)?
Lazy (Static inner class of efficiency is better than standard idler)
Standard lazyThread-safe, inefficient, lazy to load
: "); - System.out.println (List[i]); the } - for(inti=1;i)Wuyi { theMax=list[0]; - if(list[i]>max) Wu { -max=List[i]; About } $ } -System.out.print ("sub-array and maximum value:" +max); - } - } A Third, the operation result:Iv. Experience and summaryOur group of two people are my xueqing and Lu Yu, this topic realization method is Lu Yu think of, then the program was written by me, the problem in the program is the tw
-consuming (minutes)
Planning
Plan
60
Estimate
Estimate how long this task will take
3
Development
Development 2000
3000
Analysis
Demand analysis (including learning new technologies)
350
Coding Standard
Code specification (to develop appropriate specifications for current development)
60
Design UML
Design Project UML class diagram
60
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.