Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Javascript ! Math Calculations UI: button for starting processing, prompt input boxes, 1 or more labels for output INPUT: numbers PROCESSING: calculate the sum, average,

Javascript !

Math Calculations

UI: button for starting processing, prompt input boxes, 1 or more labels for output

INPUT: numbers

PROCESSING: calculate the sum, average, high and low of the numbers inputted; when user enters CRLF stop requesting input and output the four required values

OUTPUT: sum, average, high and low **also include a link back to the original page at the bottom of the output

String Manipulation

UI: button for starting processing, prompt input boxes, 1 or more labels for output

INPUT: string in first prompt input box, number in second prompt input box the number input must be less than or equal to the number of characters in the previously inputted string

PROCESSING: locate the character in the string that is at the position of the number inputted, concatenate the string to itself the number of times as the number inputted, reverse the letters in the string

OUTPUT: the string inputted, the character in the string at the position of the number inputted, the string concatenated the number of times as the number inputted, and the string reversed, for example, if frog and 3 is inputted, the three output values would be: frog, o, frogfrogfrog, gorf **also include a link back to the original page at the bottom of the output

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions