Problems:
-
Write a JavaScript code that takes three numbers as user input (use prompt) and calculates their sum.
-
Write a JavaScript code that takes user input (use prompt) for the base and height of a triangle, and calculates its area.
-
Write a JavaScript code that prompts the user to enter their name, age. Output them in the following format: 'Hello [name]! You are [age] years old.
-
Write a JavaScript code that prompts the user to enter their city. If it is not Dhaka than show output “Delivery Charge 120 Taka” else “Delivery Charge 60 Taka”.
-
Write a JavaScript code that prompts the user to enter their assignment marks. If it is 100 than show output “Excellent”, if it is more than 70 than output “Good” else “Need Improvement”.