Advance Web Development by Tanvi Mam
Advance Web Development by Tanvi Mam
Output :-
Output :-
Area of Rectangle: 20
Area of Square: 36
Area of Triangle: 20
Ques 3 - JavaScript Program to Swap Two Variables (with and without using third
variable)
Output :-
Output :-
7
Ques 4 - JavaScript Program to Convert Celsius to Fahrenheit
Output :-
12 is: Even
7 is: Odd
Output :-
a is a vowel
b is a
consonant e is a
vowel
Ques 9 - JavaScript Program to Add, Subtract, Multiply, and Divide 2 numbers
Output :-
Addition: 15
Subtraction: 5
Multiplication: 50
Division: 2
Ques 10 - JavaScript Program to Find the Largest Among Three Numbers
Output :- Result: 15
Ques 12 - JavaScript program to demonstrate the use of var, const and let
keywords
Output :-
Output :-
Synchronous task started
Promise resolved
Ques 14 - JavaScript program to show Exception Handling (with use of try, catch
and throw)
Output :-
5
ERROR!
Ques 15 –
Ques 17 - JavaScript program with function that finds the longest word in a
sentence.
Ques 19- JavaScript program to find the First Non-Repeated Character in given
string ‘aabbccddeeffg’.