Q1: Write a C# program that reads the information list of n students (name, age, List of 1- degrees and average) in a single string for each student in the following form "[Name: D₁,D2,.....D10];<>"; and compute the average from the degrees list. Ther print the information (all fields) of any student has the following properties: Name doesn't start with "Ba" and ends with "ky" The Age less than 45 and greater than 30 Successful in 7 degrees and the Average doesn't exceed 70 Note: Both Structure and LINO Principles must be used in the above program

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 8PE: Write a program that reads in a line consisting of a students name, Social Security number, user ID,...
icon
Related questions
Question
Q1: Write a C# program that reads the information list of n students (name, age, List of 10
degrees and average) in a single string for each student in the following form
"[Name: D₁, D2,.....D10];<<Age>>"; and compute the average from the degrees list. Then,
print the information (all fields) of any student has the following properties:
Name doesn't start with "Ba" and ends with "ky"
The Age less than 45 and greater than 30
Successful in 7 degrees and the Average doesn't exceed 70
Note: Both Structure and LINQ Principles must be used in the above program
Transcribed Image Text:Q1: Write a C# program that reads the information list of n students (name, age, List of 10 degrees and average) in a single string for each student in the following form "[Name: D₁, D2,.....D10];<<Age>>"; and compute the average from the degrees list. Then, print the information (all fields) of any student has the following properties: Name doesn't start with "Ba" and ends with "ky" The Age less than 45 and greater than 30 Successful in 7 degrees and the Average doesn't exceed 70 Note: Both Structure and LINQ Principles must be used in the above program
Expert Solution
steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Knowledge Booster
Problems on Dynamic Programming
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr