0% found this document useful (0 votes)
13 views

C Questionset1

Uploaded by

Indranil Pathak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

C Questionset1

Uploaded by

Indranil Pathak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

IKON COMPUTER EDUCATION & TRAINING INSTITUTE

A Central Government Registered ISO 9001 : 2015 Institute

Subject: C Language (Programs) Marks: 40

Any 8 (5*8) =40 N.B. WAP=WRITE A PROGRAM

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.

6. WAP & find out the sum of the following series.


S= 1 - 3 + 5 - 7 + 9 - 11 +…….nth term

7. WAP and input any alphabet. Check if it is Vowel or Consonant using switch case.

8. Using Do…while loop check if any number is a Krishnamurthy number or not.

9. Enter any number and check if it is Prime number or not using User defined function.

10. Develop the pattern

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

You might also like