You are on page 1of 1

IT Olympics Java Programming Selection 2022 – CCS

Challenge # 1 Category Easy level


Every one of us experienced entering kindergarten. The first thing we've learned is to read and
write and probably they taught us to distinguish between vowels and consonant letters.
Now your task is to create a program that will ask for a string it can be a word, a sentence, or a
paragraph. Then, display the total number of vowels found in the given string.

Sample Output:
Enter a string: Learn to Program
Number of vowel/s: 5

Challenge # 2 Category Medium level


Buzz number is such a number that is either completely divisible by 7 or the extreme right side
digit of the number is 7. Your task is to determine if the number is a buzz number or not.

Sample Output:
Enter a number: 49
Buzz Number

Enter a number: 97
Buzz Number

Enter a number: 186


Not Buzz Number

Challenge # 3 Category Hard Level


We are in the BER months and just a matter of days and months before Christmas Day! Now
we are going to make our Christmas Tree in advance. Create a program that will draw a
Christmas Tree pattern as shown in the below example:

X
X
XXX
X
XXX
XXXXX
X
XXX
XXXXX
XXXXXXX

You might also like