|
I'm learning Chinese. I don't know anything about these. To be honest, I have no interest. I hope that elder brother and sister can help. Thank you!
Topic 2: String Processing
Write a program to implement the following functions: delete specified characters from a string. Uppercase and lowercase of the same letter are treated as different characters.
For example: if the input string during program execution is: turbo c and borland c ++
Enter characters from the keyboard: n, then the output becomes: turbo c ad borlad c ++
If the entered character does not exist in the string, the string is output as is.
Requires a string to be obtained from the keyboard. Note that the input and output interface is friendly.
Topic 3: Print the pattern
Using the loop control method, print out the following patterns
*
**
***
****
****
***
**
*
Topic 4: Student Score Processing (1)
There are 4 students in a class and 5 courses. (1) Find the average score of the first course; (2) Find out the students who failed two or more courses, and output their student numbers and all course grades and average grades. (3) Find students with an average score of 90 or higher or a score of 85 or higher in all courses. Program three functions to achieve the above three requirements.
Topic 5: Student Score Processing (2)
There are ten students, and each student's data includes student number, name, and grades of three courses. Enter the data of 10 students from the keyboard, and print the total average scores of the three courses, as well as the data of the highest score students (including the student number, name, grades of the three courses and their average grades)
Requirement: use structure to represent students |
|