Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (4)
C program design
no vote
Write a program, input a positive integer, judge the parity of the number (directly using Boolean expression). Experimental example 2: write a program, according to the student's performance are given different evaluation (the best choice if nested way). Below 60, 60-69, 70-79, 80-89 and 90-100 were unqualified, medium, good and excellent. Experimental example 3: department store discount, shopping 100 yuan to yuan discount, 100-499 discount 5%, 500-999 discount 10%, 1000-4999 discount 15%, more than 5000 discount 20%, write a program to achieve customers to buy any amount of goods, the actual amount should be paid. 2. Write switch statement program experimental example 4: use switch statement to write program, input integer between 0 and 10, judge the parity of the number. Experimental example 5: use switch statement to write the program, write the program, and give different evaluation according to the students' grades, & nbsp; below 60 is failed, 60-69 is passed, 70-79 is medium, 80-89 is good, 90-100 is excellent
cs666cs
2017-12-18
0
1
C program design
no vote
&Write a small piece of code to test the data type of C # and the use of various main operators. &2. Write a program, define constant pi = 3.14159265, input radius r from keyboard, and calculate the area of circle. &Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 3. & nbsp; make a program to define three variables of double type, input values to them from the keyboard, and then use the Console.WriteLine Method output them into a column, decimal point alignment, retain 3 decimal places. &4. Make a program, input three numbers from the keyboard, and use the ternary operator (?) to find out the maximum number. &Make a program, input three numbers from the keyboard, and use the ternary operator (?) to find out the minimum number.
cs666cs
2017-12-08
0
1
The program of dichotomy and Newton's method is designed with C language, and different initial valu
no vote
1. Master the bisection method, Newton iterative method and other commonly used nonlinear equation iterative algorithm; 2. Cultivate the ability of programming and debugging. 3. The program of dichotomy and Newton method is designed with C language, and different initial values are selected to observe the required iteration times and iteration results.
cs666cs
2017-12-07
0
1
Java programming
no vote
The purpose and requirements of the experiment: 1. Master the technology of transformation object and interface callback; 2. Master how the class realizes the interface; 3. Master the common methods of internal class; 4. Master the common methods of anonymous class; 5. Master the common methods of connecting exception class; 1. According to the appendix of the source code, in accordance with the requirements of notes, complete the code to fill in the blanks, so that the program can run and get the results. 1) Experiment 1 (2) experiment 2 weather forecast 3) Experiment 3 Red Bull farm 4) Experiment 4 inspection of dangerous goods 5) use of internal categories in Experiment 5
cs666cs
2017-12-07
0
1
No more~