Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using javaScrip language writ in HTML Wan-ca-central-prod Mail-Adhamanmidda Function 1: Student Information function _one() Create a JavaScript function that meets the following requirements: . O

Using javaScrip language writ in HTML
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Wan-ca-central-prod Mail-Adhamanmidda Function 1: Student Information function _one() Create a JavaScript function that meets the following requirements: . O Creates the following variables that assign your unique profile information: your_name number_of_courses (this semester), program part_time_job (true/false). Create a Boolean variable, set to true or false, based on whether you have a part time job. Store the string "have" or "don't have" into another variable, based on the Boolean . Display your student information to the cosole (console.log() as illustrated below: "My name is ???. I'm in the ??? program. I'm currently taking ??? courses. "I ??? have a part time job Where "???" should be replaced with your variable data STEP 1 - Calling one) y Name Is Bruce Wayne. I's in the T127 program. I's currently taking courses. I do not have a part time job. Function 2: Calculate Change function _two (cents) Create a JavaScript function that meets the following requirements: . Is passed an integer parameter, representing a number of Canadian cents. The function uses the parameter to determine the smallest number of Canadian quarters, dimes, nickels and pennies that are equal to the given (parameter) amount Displays the calculated information as illustrated below: STEP 2 Calling _two (89) 80 cents in minimal change is: 3 quarters, dimes, 1 nickels, and pennies. Function 3: Miles to Kilometers function _three (miles, kilometers) Create a JavaScript function that meets the following requirements: . Receives two distances, one distance in miles and the other, a distance in kilometers value. Converts the miles to the equivalent kilometer value Converts the kilometer value to the equivalent miles Displays the calculated information as illustrated below: . . 68 STEP 3 Calling _three(15,9) 15 miles = 24.14 kilometers, 9 kilometers = 5.59 miles. Function 6: Convert Number Grade to Letter Grade function _six grade) Create a JavaScript function that meets the following requirements: Is passed a numeric grade, calculating and displaying the corresponding letter grade based on: 100 - 90 = 'A+', 89 - 85 = 'A', 84 - 80 = 'A', 79-76='B+', 75 - 73 = 'B', 72 - 70 - 'B-', 69 - 66 = 'C+'. 65-63 = 'C', 62 - 60 = 'C-, 59 - 56 = 'D+", 55 - 53 - 'D', 52 - 50 = 'D-',

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_2

Step: 3

blur-text-image_3

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

Question

Different formulas for mathematical core areas.

Answered: 1 week ago