Anda di halaman 1dari 1

1.

Write a program to check whether a character entered is a consonant or a vowel


2. Check whether a number is even or odd
3. Check whether a character entered is a number or a character
4. Display the multiplication table of the number entered by the user(till
multiples of 10)
5. Calculate the amount of electricity bill if the units consumed are :
1)less than or equal to 100, the rate is
1.20
2)if the units consumed are between 101
and 200, then the rate is 1.50
3)if the units consumed are greater than
200, then the rate is 1.7
6. Write a program to read n numbers entered by the user and find the maximum
number.
7. Do the above program using Arrays

Anda mungkin juga menyukai