Js Practice 17-10-2024
Js Practice 17-10-2024
Write a JavaScript program to display the current day and time in the following
format
Sample Output : Today is : Tuesday.
Current time is : 10 PM : 30 : 38
2. Write a JavaScript program to find the area of a triangle where three sides are
5, 6, 7.
3. Write a JavaScript program to find out if 1st January will be a Sunday between
2014 and 2050.
6. Write a JavaScript program to compute the sum of the two given integers. If the
two values are the same, then return triple their sum.
9. Write a JavaScript program to create another string from a given string with the
first character of the given string added to the front and back.
10. Write a JavaScript program to find the closest value to 100 from two numerical
values.