Question: I. Design the calculator form below: ( 1 0 ) Simple Bytes Calculator Bytes: Kilobytes: Terabytes: II . Write JS function to convert from any

I. Design the calculator form below: (10)
Simple Bytes Calculator
Bytes:
Kilobytes:
Terabytes:
II. Write JS function to convert from any one of the units given to at least two others ie at
least the formula defined below (20).
Assume 1000 bytes =1Kb Hint: kilo 103; tera 1012;
III. Use the formula below by completing the below calculations and display the calculated
values on the page (Assume 1000 bytes =1KB marks)
kbytes = parseFloat(bytes)/1000;// converts to kilobytes given bytes
kbytes =
;// converts to Kbytes given terabytes
bytes= parseFloat(kbytes)*1000; // converts to bytes given kilobytes
bytes = parseFloat(tbytes)**1,000,000,000,000,?? converts to bytes given terabytes
tbytes =,;?? converts to Terabytes given bytes
tbytes =.,// converts to Terabytes given Kbytes
I. Design the calculator form below: ( 1 0 )

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 Accounting Questions!