Untitled

 avatar
unknown
plain_text
5 months ago
955 B
3
Indexable
1. Write a C program to input customer name, Account Number and initial deposit. Perform deposit, withdrawal and display balance using separate functions. Use switch case to write a menu driven program for the above.

2. Write a C program to input Employee_ID, Name and Basic salary. Calculate Ta=35% of Basic, DA=75% of basic, HRA 30% of Basic, PF=18% of Basic. Write Separate functions to calculate Gross and net Salary. Display the details of Employee's salary sheet.

3. Write a menu driven program to input necessary parameters and calculate area and perimeter of (1) triangle (2) square (3) rectangle using separate functions.

4. Write a recursive function to find the factorial of a number.

5. Write a recursive function to find the sum of natural numbers upto given number.

6. Write a recursive function to find the sum of natural numbers within a given range.

7. Write a recursive function to generate Fibonacci series upto given no of terms.
Editor is loading...
Leave a Comment