Question: Using javascript. Display the output as an html page SECTION 3: GENERAL PROGRAMMING CAPABILITIES Write a program that does the following: Given a string variable:

Using javascript. Display the output as an html page

Using javascript. Display the output as an html page SECTION 3: GENERAL

SECTION 3: GENERAL PROGRAMMING CAPABILITIES Write a program that does the following: Given a string variable: StrRates StrRates is a string with delaminated list of number. This list can be of arbitrary length. The pattern of this list is: Price 1,1 "" Rate, "." ... Raten "," Pricei,n":L" LockPeriod: ";" ... Ratez "," Pricem, Pricem,n ":L" LockPeriodm";" ... Raten The Objective of the Program is to transform this string into the following two-dimensional matrix and display it as an html page. So the output should look like this" Lock1 Lockz Ratei Ratez Rates Pricei, 1 Pricei, 2 Price1,3 Price2,1 Price2,2 Price 2,3 Lock3 Price3,1 Price3,2 Price3,3 Lockm Pricem,1 Pricem,2 Pricem,3 Raten Pricei,n Pricezin Price3,n Pricemin Here is an example: If the input value to program is StrRates="5.810874.5,101,6:0,10230;5.0,99,5.5,100,6.0,10113:0;" then the function would print the following output: e 5.0 5.5 6.0 10 100 101, 20 99 100 101 102

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!