Question: Q2. (Marks: 10) Write a program to take two customer first name, last name and address as an input string Allow the user to input/read


Q2. (Marks: 10) Write a program to take two customer first name, last name and address as an input string Allow the user to input/read the address until the user press symbol to terminate . Concatenate the customer first name and last name. After concatenation, display the customer name (first name along with last name) and address. Note: In order to take the input and display the data of two customers, you should use loop for efficiency (Marks: 30) Q3. The examination department needs an examination module at FURC to store result of Programming Fundamental subject of your class along with other information/attributes. Now, you are required to write a CH program keeping in mind the following requirements: a. Consider five different attributes like student name, marks of programming fundamental subject, etc. of each student (remaining attributes of your own choice), and then store it using a structure. The attribute of programming fundamental subject's marks is mandatory b. You should give facility to user to decide that how many students' data he/she wants to store. For example, if user decides to store data of 5 students then he/she will enter the data of 5 students. c. If by mistake the user provide any student's marks which are less than 0 or greater than 100 then convert it into 0. d. Display all the students' data entered by the user. e. You should sum/add the programming fundamental course marks of all the students and then display the total marks of class as well as average. Note: You should not consider/add those students' marks which are not in the valid range, d. Display all the students' data entered by the user e. You should sum/add the programming fundamental course marks of all the students and then display the total marks of class as well as average. Note: You should not consider/add those students' marks which are not in the valid range. (See point c). f. Define your own phrases for remarks for the following ranges of class average. A sample remarks is given for less than 50 class average. Remarks Class Average >85 > 65 and 50 and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
