(a)Write a detailed algorithm for the above problem. (b)Write a flowchart based on the algorithm for the above problem (c) Write a C program to implement the steps described above.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

May you please solve this or me? Please include the flowchart and the algorithm

Write a program that stores the mark allocation weights for 4 assessments as shown in the table
below in
an array. The program must prompt the user to enter their full name and the 4 mark assessments as
follows:
"Please enter your first name and your last name: "
"Please enter the project mark: "
"Please enter the practical mark:
"Please enter test 1 mark: "
"Please enter test 2 mark: "
The program must use the weights and the entered mark values to calculate the final mark for the
and display the student's name and final mark.
Note: format the displayed values to two decimal points.
The program must perform the following functionality:
(i) Creates a four-element array with the correct data type to store the weights.
(ii) Prompts the user to obtain the four assessment values.
(iii) Prompts the user to for their first name and last name.
(iv) Calculates the final mark.
(v) Prints the student name and final mark to the screen.
Assessment Description
Weight
Project
0,35
Practical
0,15
Test 1
0,25
Test 2
0,25
(a)Write a detailed algorithm for the above problem.
(b)Write a flowchart based on the algorithm for the above problem
(c) Write a C program to implement the steps described above.
Transcribed Image Text:Write a program that stores the mark allocation weights for 4 assessments as shown in the table below in an array. The program must prompt the user to enter their full name and the 4 mark assessments as follows: "Please enter your first name and your last name: " "Please enter the project mark: " "Please enter the practical mark: "Please enter test 1 mark: " "Please enter test 2 mark: " The program must use the weights and the entered mark values to calculate the final mark for the and display the student's name and final mark. Note: format the displayed values to two decimal points. The program must perform the following functionality: (i) Creates a four-element array with the correct data type to store the weights. (ii) Prompts the user to obtain the four assessment values. (iii) Prompts the user to for their first name and last name. (iv) Calculates the final mark. (v) Prints the student name and final mark to the screen. Assessment Description Weight Project 0,35 Practical 0,15 Test 1 0,25 Test 2 0,25 (a)Write a detailed algorithm for the above problem. (b)Write a flowchart based on the algorithm for the above problem (c) Write a C program to implement the steps described above.
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY