0% found this document useful (0 votes)
18 views3 pages

Lab Task: Draw Flowgorithms

The document outlines a series of tasks for developing various applications, including a monthly budget planner, fitness calorie tracker, loan payment calculator, currency converter, employee paycheck generator, classroom average marks calculator, fuel cost estimator, event ticket price calculator, and electricity bill calculator. Each task specifies the required user inputs, calculations needed, and expected outputs. The tasks aim to assist users in managing finances, tracking fitness, and calculating costs.

Uploaded by

sanamre143ucp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views3 pages

Lab Task: Draw Flowgorithms

The document outlines a series of tasks for developing various applications, including a monthly budget planner, fitness calorie tracker, loan payment calculator, currency converter, employee paycheck generator, classroom average marks calculator, fuel cost estimator, event ticket price calculator, and electricity bill calculator. Each task specifies the required user inputs, calculations needed, and expected outputs. The tasks aim to assist users in managing finances, tracking fitness, and calculating costs.

Uploaded by

sanamre143ucp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Lab Task

Draw Flowgorithms
Task1: Monthly Budget Planner
You are building a monthly budget planner to help users manage their expenses. The system
should:
• Ask the user to input their total monthly income.
• Ask the user to input their expenses in categories like rent, groceries, utilities, transportation,
and entertainment.
• Calculate and display the total expenses.
• Calculate and display the remaining balance (income - expenses).
Input/Output Steps:
• Input: Monthly income and expenses in different categories.
• Output: Total expenses and remaining balance.

Task2: Fitness Calorie Tracker


A fitness app needs to track calories burned during exercise. The system should:
• Ask the user to input the type of exercise they performed (e.g., running, cycling, swimming).
• Ask the user to input the duration of the exercise (in minutes).
• Based on the exercise type and duration, calculate the calories burned (using a simple formula
like: running = 10 calories/min, cycling = 8 calories/min, swimming = 7 calories/min).
• Display the total calories burned.
Input/Output Steps:
• Input: Exercise type and duration.
• Output: Total calories burned.

Task 3: Loan Payment Calculator


A user wants to calculate their monthly loan payment. The system should:
• Ask the user to input the loan amount, interest rate, and the number of years for the loan.
• Use a simple formula to calculate the monthly payment:
Monthly Payment= (Loan Amount × Interest Rate) / number of years
• Display the calculated monthly payment.

Input/Output Steps:
• Input: Loan amount, interest rate, and number of years.
• Output: Monthly payment.

Task 4: Currency Converter


You are building a currency converter for a travel website. The system should:
• Ask the user to input the amount of money they want to convert.
• Ask the user to select the currency they want to convert from and to (e.g., USD to EUR, USD to
GBP).
• Based on the exchange rate, calculate the converted amount.
• Display the converted amount.
Input/Output Steps:
• Input: Amount, source currency, and target currency.
• Output: Converted amount based on exchange rate.

Task 5: Employee Paycheck Generator


A company wants to generate paychecks for its employees. The system should:
• Ask the user to input the employee’s ID (numeric), hourly wage, and number of hours worked.
• Calculate the gross pay (hours worked × hourly wage).
• Calculate the net pay after deducting taxes (assume a tax rate of 20%).
• Display the paycheck details (employee ID, gross pay, and net pay).
Input/Output Steps:
• Input: Employee ID, hourly wage, and hours worked.
• Output: Gross pay and net pay.

Task 6: Classroom Average Marks Calculator


A teacher wants to calculate the average marks for a class. The system should:
• Ask the user to input the number of students.
• For each student, input their marks out of 100.
• Calculate and display the average marks for the class.
Input/Output Steps:
• Input: Number of students and each student’s grade.
• Output: Average marks.

Task 7: Fuel Cost Estimator for a Trip


A driver wants to estimate the cost of fuel for a road trip. The system should:
• Ask the user to input the distance of the trip (in kilometers).
• Ask the user to input their vehicle's fuel efficiency (liters per 100 kilometers) and the current
price of fuel per liter.
• Calculate the total fuel cost for the trip.
• Display the estimated fuel cost.
Input/Output Steps:
• Input: Trip distance, fuel efficiency, and fuel price.
• Output: Total fuel cost for the trip.

Task 8: Event Ticket Price Calculator


You are designing a system for an event ticket booth. The system should:
• Ask the user to input the number of adults and children attending the event.
• The price per adult is $20, and the price per child is $10.
• Calculate and display the total cost of the tickets.
Input/Output Steps:
• Input: Number of adults and children.
• Output: Total cost for the tickets.

Task 9: Electricity Bill Calculator


A household wants to calculate their monthly electricity bill. The system should:
• Ask the user to input the number of units of electricity consumed.
• Charge $0.12 per unit for the first 100 units, $0.15 per unit for the next 200 units, and $0.20 per
unit for any additional units.
• Calculate and display the total electricity bill.
Input/Output Steps:
• Input: Number of units consumed.
• Output: Total electricity bill.

You might also like