Question: Pls help me with this in JS/JavaScript Programming a. Write a JavaScript program that will convert Arabic number to Roman number (1-3999). M=1000D=500C=100L=50X=10V=5I=1 var num

Pls help me with this in JS/JavaScript Programming a. Write a JavaScriptPls help me with this in JS/JavaScript Programming

a. Write a JavaScript program that will convert Arabic number to Roman number (1-3999). M=1000D=500C=100L=50X=10V=5I=1 var num = prompt ("Input Arabic number"); Thou = Math.floor (num/1000); Huns = Math.floor (numo1000/100); Tens = Math.floor (num81000\%100/10); ones = Math.floor (numo1000\%8100\%10); if (Thou == 1) ans = "M"; else if (Thou== 2) ans = "MM"; if (Huns == 1) ans1="C"; else if (Huns== 2) ans1=

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!