Answer to Question #8878 in AJAX | JavaScript | HTML | PHP for Kara

Question #8878
1) A) Use a loop to print a list of numbers from 1 to 20. You can use either a ‘while’ loop or a ‘for’ loop.

B) Below that, add another loop that will display the numbers 1 through 10 and the times table for the number 7, like this:

1 times 7 is 7
2 times 7 is 14
3 times 7 is 21
10 times 7 is 70
C) Allow the user to enter a number to be used in the times table in place of the 7.

2) A) Use an ‘if’ statement to calculate the taxes due based on a flat tax rate of 10%, with no taxes due for anyone who has a salary less than $10,000. For this part you can enter the salary directly in the code.
B) Setup the HTML page to allow the user to enter a salary.
C) Adjust your formula so that the tax rate on all income about $25,000 is 20%.
Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be the first!

Leave a comment

Ask Your question

New on Blog