Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Declare 4 sets of variables for each set of values. Each value will contain a set of variables associated with a student. 1 1 Name

image text in transcribed

Declare 4 sets of variables for each set of values. Each value will contain a set of variables associated with a student. 1 1 Name Score1 Score2 Score3 Score4 1 John, Jane, Stacy, Wade 98, 88, 92, 84 77, 100, 81, 104 60, 93, 87, 87 70, 71, 80, 79 Create a process that will sum the 4 scores together and another process that will give an average of all 4 scores. Create a header for the data that will complement each column of values. Display as output for each student, the name, all 4 scores, the total of all 4 scores and the average of all 4 scores. Use tabulated escape characters to separate each of the values. Below is an example of how the output should look like. Your results will be different based on the values you entered in the declared variables. Name Scorel Score2 Score3 Score4 Total Average 98 88 92 84 362 362 100 81 104 John Jane Stacy Wade 77 60 90.5 90.5 81.75 75.0 93 87 87 327 70 71 80 79 300

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

Will others cooperate?

Answered: 1 week ago