JS Problem Solving Sheet
JS Problem Solving Sheet
1- Write a program that allows the user to enter a number then print it.
—---------------------------------------------------------------------------
2- Write a program that takes a number from the user then print yes if that
number can divide by 3 and 4 at the same time, otherwise print no.
—---------------------------------------------------------------------------
6- Write a program that allows the user to insert an integer number then
check If a number is even or odd.
Hint: Loops are helpful when you want to make pattern steps or when you
want to make a code repeat many times.
—-------------------------------------------------------------------------------------------------
9- Write a program that allows the user to insert an integer then print a
multiplication table up to 12.
Hint: Loops are helpful when you want to make pattern steps or when you
want to make a code repeat many times.
10- Write a program that allows the user to enter a number then print all the
only evens numbers starting from 1 to the user entered number.
Hint: Loops are helpful when you want to make pattern steps or when you
want to make a code repeat many times.
—-------------------------------------------------------------------------------------------------
13- Write a program to input the month number and print the number of
days in that month.
Hint: Loops are helpful when you want to make pattern steps or when you
want to make a code repeat many times.
—-------------------------------------------------------------------------------------------------
Using switch case only and without array or object or any
built in methods, code the following questions:
15- Write a program to input the month number and print the number of
days in that month.
—-------------------------------------------------------------------------------------------------
18- Write a program that allows the user to insert an integer number then
check If a number is even or odd.
—-------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Welcome to JS, wish all the best