Computer Science, asked by Pleaseansmyquest, 3 months ago

PROJECT DETAILS
An ERP Group is asked to design a program to help a new school manage report cards and books borrowed from the library. They have decided to write the program for one student and test if it is working correctly. This program contains a list of functions as given below and the events that take place in each function. Help this group write the program for one student.
Step 1:
Input the following details

Name of the Student
Grade
Date of Birth(DD/MM/YYYY)

Step 2 :

Create functions given below:
Function 1: Generate_UserID( )

This function takes Name,Grade,Date of Birth as parameters and returns a username using the following :

UserID = First two characters of the name+last two characters of the name +Grade+year of birth

Function 2: Generate Report Card( )

This functions calls the Generate_UserID function and stores it in a variable called UserName
Input marks obtained by the student in 5 Subjects
Print Grades for each Subject (Grade>=90 - A*, Grade>=80 - A, Grade >=70 - B*, Grade >=60 - B, Grade >=50 - C, else D[Fail])
Find the
average mark
Overall Grade obtained (Grade>=90 - A*, Grade>=80 - A, Grade >=70 - B*, Grade >=60 - B, Grade >=50 - C, else D[Fail])

Display the report card in the format given below: [clue: tabs can be used]

User_Name:
Name:
Grade:

Subject Marks Obtained Grade





Average:
Overall Grade:


Step 3:

Create a function called Book_Borrowed( ):

This functions calls the Genearte_UserID function and stores it in a variable called UserName
Librarian inputs the following:
Name of the book borrowed by the student
ISBN number of the book
Date of Issue
Return Date
Returns ISBN of the book

Step 4:

Create a function called Book_Returned( ):

This functions calls the Book_Borrowed function and stores it in a variable called ISBN_Book
The librarian inputs the following information:
Number of days the book was borrowed
Condition of the book - torn or lost
If the book is lost then a fine of 1000/- is charged
If the book is torn then a fins of 500/- is charged
If the book is returned within 7 days then NO fine is charged
If the number of days is greater than 7 then a fine of 100/- per day is charged till 14 days after that an additional 200/- is charged
Print the following information in the format given below:

User_Name:
Name:
Grade:
ISBN of the book:
Fine:

Answers

Answered by rsnandy2008
0

Answer:

o*coc voo coffee athan vi en is you on is en is to pu of hi ch

Explanation:

HS said he'll is to on to

Similar questions