Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the solution of the following statements you must develop: Problem Analysis Flowchart Coding in Visual Studio Code 1 . A company requires the previous

For the solution of the following statements you must develop:
Problem Analysis
Flowchart
Coding in Visual Studio Code
1. A company requires the previous reading in kilowatts and the current reading in kilowatts from an electricity meter to determine the electricity consumption of a house. Taking as input the initial and final readings in kilowatts from a meter, determine the kilowatt consumption and the amount to be paid for said consumption knowing that each kilowatt has a value of 15,000 pesos. Additionally, they charge 10% of the consumption amount for urban cleaning, determine the total amount to be paid."
2. A warehouse wants to know the value of a purchase made by a customer, and for that, the quantity of the product, price, and type of customer must be entered. If the customer is type A, a 10% discount is applied; otherwise, the discount would be 5%. The total purchase amount, the discount value, and the total to pay must be displayed.
3. In a certain company, its employees are evaluated at the end of each year. The points they can obtain in the evaluation start at 0.0 and can increase, resulting in better benefits. The points that employees can achieve can be 0.0,0.4,0.6, or more, but not intermediate values between the mentioned figures. Below is a table with the corresponding levels for each score. The amount of money earned at each level is $2,400 multiplied by the level score. Write a program that reads the user's score and indicates their performance level, as well as the amount of money the user will receive.
4. A company dedicated to car rental charges a fixed amount of $300,000 for the first 300 km of travel. For more than 300 km and up to 1000 km, it charges an additional amount of $15,000 for each kilometer exceeding 300. For more than 1000 km, it charges an additional amount of $10,000 for each kilometer exceeding 1000. The prices already include the 19% General Sales Tax, VAT. Create a program that determines the amount to be paid for renting a vehicle and the amount of tax included.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

Students also viewed these Databases questions