Students, we have left two experiments, please put these two times the contents of the experiment as an experimental report before the deadline for submission.
Closing Date: 2016-10-7 23:00
Experiment One:
- Programming to print 5 rows of inverted triangles, the first line to print 9 *, the second row of 7 *, ... Line 5th Print 1 *
2. Enter 3 integers and calculate their and,
Input format: 1 2 3
Output format: 1+2+3=6
- Enter and output data according to the following format requirements
Output: Please enter today's date, month and year daily comma separate
Input: 2016,9,13
Output: Please enter your birthday, format: year-month-day
Input: 1998-5-6
Output: You are 18 years old, your birthday is 1998-05-06
Note: The data given in the topic is a sample and can be entered arbitrarily.
Experiment Two
1. Read the three integers to a,b,c, then swap the numbers in them, give the original value in a to B, give the original value of B to C, give the original value of C to a, and finally output the value of A,b,c.
2. Enter X minutes to convert the minutes to hours and minutes. If you enter 150 minutes, the output format is: 150 minutes = 2 hours 30 minutes.
3. Programming input a four-bit integer n, the reverse number of Nr. The required output should also be a four-bit integer. If you enter 3720, the output should be 0273.
4. (Learn to use symbolic constants) Enter the radius of the circle, the circumference of the output circle, and the volume of the sphere that is formed around the diameter, leaving two decimal places in the result.
The experiment report must be written in the following format, not just the source code, or only the running results.
The format is as follows:
Experiment Name: Experiment One
Experiment 1-1
Experimental requirements: XXXXXXXXX
Code: (Copy the source code, do not, strictly in accordance with the standard format to write)
Program Run Result:
Experimental Summary: (Errors encountered in programming, what are the error hints, find errors is because of what caused, how to solve, what knowledge points involved, what do not understand the place, the programming of some tips summary and so on) (this is the focus of the experimental report)
Each experimental question is completed in the format described above.
Job Evaluation: 10 points, late delivery of 0 points, a week after still did not hand in the work, 10 points, found plagiarism, all the upside down 10 points. The grading of the work will be the main basis for the results and results of the final grade.
C Language Programming first time job