Visual Studio 2017 reproduces the C language classic example (i)

Source: Internet
Author: User

1, write a program, enter a, B, c these 3 values, the largest of the output.

2. Translate "China" into a password. Password rule: Replace the original letter with the 4th letter after the original letter.
For example, the 4th letter after the letter A is e, substituting E for a, so that China should be translated as Glmre.
Please compile a procedure, with the method of assigning the initial value to make C1, C2, C3, C4, C5, the values of the 5 variables are C, h, I, N, a, after operation, so C1, C2, C3, C4, C5, respectively, G, L, M, R, E.
(This topic to write the problem-solving ideas really detailed ...) )

3, uppercase and lowercase conversion, enter the letter A, automatic output A-Z 26 lowercase letters, a-Z 26 capital letters
(I made up this problem myself)

4, set the circle radius r=1.5, the cylinder is high h=3, the circumference is long, circle area, sphere surface area, sphere volume, cylinder volume. With scanf input data, output calculation results, the output requires a text description, take the decimal point 2 is a number. Please compile the program.

Visual Studio 2017 reproduces the C language classic example (i)

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.