FY_BCA_C_15 Marks SLIPS

1.write a prog to accept 4 digit no from user and count zero,odd and even digits of entered no */

2. write a C prog to generate fillowing pattern for n lines Aa Aa Bb Aa Bb Cc Aa Bb Cc Dd  

3.write a C prog to check wheather given no is amstrong or not  

4. write a C prog to calculate sum of digit of given no  

5.write a C prog to accept a string from user and generate following pattern (eg input string is "abcd") a ab abc abcd abc ab a 


6.write prog to accept string from user and delete all vowles from string and display the result 

7.display pattern for n lines 1 2 3 4 5 6 7 8 9 10 

8. Display Star Pattern 

9.write a prog to calculate sum of fibonacci series up to given no  

10.write prog to calculate x to the power y without using std function 

11.write a C prog to accept character and dispaly it,s ASCII value and it's next and previous character 

12. write prog to calculate x to the power y without using std function 

13.write prog to accept string from user and display alternate chracters 

14.write a prig to aclculate following area : 1.circle 2.Rectangle 3.triangle 

15.accept no check it is palindrom or not same as Slip no 29_1 & Slip no 30_1  

16.write a C prog to check wheather given no is perfect or not 

17.write prog to generate following pattern for n lines 1 3 5 7 9 11 

18.Write a function isEven, whichaccepts an int as parameter abd return 1 if number is even otherwise return 0  

19.write prog to display multiplication table up to given no 

20.write prog to accept chatacter from user and check it is alphabet,digit or punctuation symbol if it alphbet check it is lower case or upper acse and then change it's case 

21. temperature conversion Formulae f=c*9/5+32 c=(f-32)*5/9

22.write a prog to swap two numbers using bitwise operator.

23.write a prog to accept n nubers and display sum of all +ve and -ve numbers

24.display each digit in words

25.write a prog to accept n nubers and display sum of all even numbers in an array


26.write a prog to accept string from user and display alternate charcter in upper case

27) write a prog to accept n nubers and display sum of all even numbers in an array 

28) write a prog to accept string from user and display alternate charcter in upper case

No comments:

Post a Comment