1) Write a program to enter name and G for girl or B for a boy. Check for the gender of the person and print it out. 2) Write a program that inputs your score (out of 100) in each category, then calculates your weighted grade. The program should output your total percentage and letter grade. (Use if statements) 3) A company decided to give a bonus of 5% to an employee if his/her year of service is more than 5 years. Ask the user for their salary and year of service and print the net bonus amount. 4) A shop will give a discount of 10% if the cost of the purchased quantity is more than 1000. Suppose one unit will cost 100. Ask the user for quantity and solve the total cost for the user. 5) A student will not be allowed to sit in the exam if his/her attendance is less than 75%. Take the following input from the user:-  Number of classes held The number of classes attended And print the percentage attendance and whether the student is allowed to sit during the class.  

Leaderboard

Theme

Options

Switch template

Continue editing: ?