C Language Programming third time job

Source: Internet
Author: User
Tags uppercase letter

  Attitude determines everything, regardless of what to do, uphold a serious attitude, I believe it will make you benefit. When you submit a job, if you just paste the code and run the results, then you just write a program, to your own level of promotion help is not big, this mistake may appear next time. If you can take a serious summary, this procedure uses the knowledge which we have learned, these points of knowledge applied to what occasions, need to pay attention to which problems, then you will have a deeper understanding and mastery of the knowledge, application will be more comfortable. In the process of programming, oneself is how to consider, encountered what problem, how to solve, in the process of program debugging, again what error, reason is what? To sum up carefully, in time, your programming ability will certainly have a big promotion. Therefore, students, hope that everyone in the completion of homework, the knowledge point and the experimental process to do a serious summary. This assignment requires the following:

I. Contents of the study

    1. Mastering character data (character constants and variables, string constants, input and output formats for character data, and input-output functions)
    2. How to generate random numbers

Ii. contents of the experiment

1. Character judgment

Enter a character to determine if it is lowercase letter output its corresponding uppercase letter, if it is uppercase letters output its corresponding lowercase, if the digital output number itself, if it is a space, output "space" If this is not the case, the output "other" .

2. Age issues

Enter a student's birthday (year: Month: Day), and enter the current date (year: Month: Day) to calculate the actual age (years) of the birth.

3. Judging the type of triangle

Enter three integers to determine the type of triangle (equilateral triangle, isosceles triangle, isosceles right triangle, right triangle, general triangles, and non-triangles)

4. See commodity guessing price games

Additional question: Bug eating apple problem (complete this topic plus 1 points)

You bought a box of n apples, unfortunately, when you bought it, you got into a bug in the box. Insects can eat an apple every x hours, assuming that the worm does not eat another one before eating an apple, how many complete apples do you have after y hours?

Enter N,x and y (all integers). Output the remaining number of apples.

Test data: 10 4 9

5 3 16

Third, the experimental requirements

Job submissions must be written in the following format, not just the source code, or only the running results.

The format is as follows:

First, the contents of the experiment

1. Experimental Requirements: XXXXXXXXX

Code: (Use the blog Park Insert Code function to insert the source code, do not, in strict accordance with the standard format to write)

Program Run Result:

Each experimental question is completed in the format described above.

Ii. Summary of knowledge points in this course

1 、.....

2 、.....

........

Third, the experimental summary (the problems encountered in the experiment and solutions)

1 、.......

2 、.......

........

Job Evaluation:

Out of 10, of which the program writing specification (indentation) and the results of the correct 5 program, write not standard deduction 1 points, Knowledge points summary 2 points, the experimental summary 2 points, each class submitted the first 5 students 1 points, plus 1 points added.

Late hand assignment 0 points, a week later still did not hand in the work, 10 points upside down, 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 third time job

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.