C Questionset1
C Questionset1
1. WAP & input any number and check if it is a perfect cube or not. (Like 27=3 3)
2. WAP & input any 5-digit number & evaluate the sum of only the odd digits. (Like
12345=1+3+5=8)
3. WAP & input the marks of 5 subjects through array. Check and print the lowest marks.
4. WAP & input any number. Evaluate the sum of the digits using User defined function.
5. WAP & input the values of a,b,c. Check if the roots are real or imaginary as quadratic equation.
7. WAP and input any alphabet. Check if it is Vowel or Consonant using switch case.
9. Enter any number and check if it is Prime number or not using User defined function.
55555
4444
333
22
1
11. Print the alphabetic pattern
C
CD
CDE
CDEF
CDEFG
12. Evaluate the frequency of the numbers divisible by 10 between a lower and upper range.
Cell:8240159300