C programming 2016

2nd Semester

2016

2. Display the following pattern using loop.
a. BBA
b. BIM
c. BIM
d. BBA
e. BBA
f. BIM

3. Write a program to count white spaces in a given sentence.

4. Write a program to calculate the sum of the following numbers: -3, -4, 8, 9, 10, -17.

5. Write a function to check if the entered prime number is greater than 90 and is odd.





6. Write a function that converts the lowercase string into uppercase string.

Group “C”

9. Write the output generated by the following program.

 

Leave a Reply

Your email address will not be published. Required fields are marked *