Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create four variables that store the following pieces of data. Be sure to name your variables in a way that makes sense to someone else

Create four variables that store the following pieces of data. Be sure to name your variables in a way that makes sense to someone else (i.e. dont name your variables

something simple that doesnt relate to the data that is being stored (like x or y)).

(a) Variable 1: a class name (store the string: Introduction to Computer Program-ming)

(b) Variable 2: Test 1 average (store the number 95)

(c) Variable 3: Test 2 average (store the number 76)

(d) Variable 4: Test 3 average (store the number 87)

Output the average of the three tests assuming they are weighed equally as follows:

The overall test average is %d., where you replace %d with the actual average of the three tests.

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

More Books

Students also viewed these Databases questions