Professional Documents
Culture Documents
Govt. Degree College (W) Zahir Peer Rahim Yar Khan
Govt. Degree College (W) Zahir Peer Rahim Yar Khan
Q.No.1: Write a program that inputs character from user and checks whether it is a Vowel or
Consonant.
Q.No.2: Write a program that inputs a number from user and displays a table of that number using
While-Loop.
1+3+5+7+…+100
Q.No.4: Write a program that gets five inputs from user in an Array and then sorts this Array in
Ascending order using Bubble sort.
Q.No.5: Write program that inputs a number and display whether it is even or odd.