MakeCodeEasy
Scholarship Test
1. Print the following pattern upto N-lines.
1
12
123
1234
12345
2. Enter a number and check whether it is a prime number or not.
3. Enter a number and print the sum of its digits.
4. Print the following pattern upto N-lines.
*
**
***
****
*****
5. Enter a number & count the number of even digits in it.
6. Print the following pattern upto N-lines.
2
2 3
2 3 5
2 3 5 7
2 3 5 7 11