BCSL-021 C Language Lab Solved Assignment 2018-2019

Share:
BCSL-021 Solved Assignment For IGNOU BCA 2nd Semester 2018-19

BCSL-021 Solved Assignment For IGNOU BCA 2nd Semester
Program: Bachelor In Computer Application (BCA)
Course Name: C Language Programming (Lab)
Assignment Code: BCA(2)/L-021/Assignment/2018-19

Following Questions are Answered in this Solution
Question1: Write an interactive program which prompts the user with the following options on the opening menu to generate the pay-slips for various categories of employees working in a University:
PAY SLIP GENERATION
1) Faculty (Asst. Professor, Associate Professor, Professor)
2) Non-Academic Staff
3) Consultants
4) Daily-Wagers / Skilled Workers
5) Security Personals
6) Quit
Enter your choice:

If an “1” is entered, prompt the user to take the inputs for calculating the salary for Faculty (Asst. Professor, Associate Professor, Professor) and generating the pay-slip. If “2” is entered prompt the user to take the inputs for calculating the salary for Non-Academic Staff and generating the pay-slip. If “3” is entered prompt the user to take the inputs for calculating the salary for Consultants and generating the pay-slip. If “4” is entered prompt the user to take the inputs for calculating the salary for Daily- Wagers /Skilled Workers and generating the pay-slip. If “5” is entered, prompt the user to take the inputs for calculating the salary for Security Personals. If “6” is entered, it should exit from the program. If the user enters any letters or numbers other than the choice, redisplay the prompt. All outputs should go to the terminal and all input should come from the keyboard.

Note:(i) Give appropriate pay-scales as per 7th Pay Commission for Faculty and Non- Academic Staff of the University. Assumptions can be made for others wherever necessary.
(ii) You must execute the program and submit the program logic, sample input and output along with the necessary documentation for this question.

Source code of full program and screenshots are provided in this assignment solution. Program is well commented wherever needed.

Download IGNOU BCA Solved Assignments For 2018-2019 Session (All Subjects)

Be the first to comment...