Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in javascript Create an array named salaries with the following array items 36548,29740,59337,98599,75665 create a variable named raise and assign it a value of .035

in javascript

Create an array named salaries with the following array items 36548,29740,59337,98599,75665

create a variable named raise and assign it a value of .035 - which represents a 3.5% raise.

Use a for loop to iterate through each item in the array, producing the results shown below

Results (this is what your print out on the screen should look like)

A salary of 36548 with a raise of 1279.18 would be 37827.18

A salary of 29740 with a raise of 1040.9 would be 30780.9

A salary of 59337 with a raise of 2076.795 would be 61413.795

A salary of 98599 with a raise of 3450.965 would be 102049.965

A salary of 75665 with a raise of 2648.275 would be 78313.275

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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions