Draw a flow chart for the following problem: a. Ali sells bunches of flowers at the local shopping centre at amount of (registration number*0.5 e.g if reg# is 100 then 100*0.5). One day Ali's boss, Hassan, tells Ali that at any time during the day he (Hassan) will need to know: how bunches of flowers have been sold many what was the value of the most expensive bunch sold what was the value of the least expensive bunch sold what is the average value of bunches sold
Q: Using C program Problem: Calculate the tax due or the refund for a family based on the following…
A: The inputs will be the income and number of dependents and the output will be calculated tax
Q: Draw a flow chart to accept a salary of an employee. If the salary is less than or equal to 500 add…
A: Flow chart is a step by step process which contains sequence of steps connected with flows. In flow…
Q: University has a transport department with number of busses. Each driver notes the mileagereading of…
A: Given: We are given a university that has a transport department with a number of busses. Each bus…
Q: BY USING YOUR STUDENT ID, please state 1-initial amount, 2-deposits per month and 3-number of…
A: Rule 1: Initial amount is the last 4 digit of your student ID(Currency can be of any country as per…
Q: Given is GROSS_PAY. Draw a flowchart that will compute for DEDUCTIONS and NET PAY for employee's…
A: Program plan: Required output: Net-pay Available Input: Gross-pay, civil-status Processing…
Q: Write a program that will compute a student's final equivalent grade in Mathematical Computing I.
A: Required: create a program that will solve for a final grade Required code with comments for…
Q: Write a code that conducts a basic Monte Carlo procedure to value a European-type option. The…
A: Python code that conducts a basic Monte Carlo procedure to value a European-type option using the…
Q: Write a function to describe the following scenario. Jonathan is selling his old trading cards. Each…
A: Jonathan has set up a price structure for his customers when he sells his used trading cards. A…
Q: Project description The problem here is to make change using the smallest number of American coins.…
A: Code: #include<stdio.h>#include<stdlib.h>int *change(int amount){ int *data =…
Q: Note: Please Answer in C++ Only Mr. Cook is the manager of Code cinemas and after a long break the…
A: Start read the number of test cases T. For each test case, read the number of rows N and columns M.…
Q: You have two columns, say Age group in column A and purchase in column B. If either Age group is kid…
A: Option D i.e. None of the above is correct for the given statement. If either kid or senior citizen…
Q: Using C#. I have been stuck on this for three days. I need help in understanding the logic of how…
A: using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace…
Q: A projectile is launched at an angle 0 and speed of u. The projectile travel time t, maximum travel…
A: Note: Answering the question in python as no programming language is mentioned. Input : Value of u…
Q: Note: Please Answer in C++ Only Mr. Cook is the manager of Code cinemas and after a long break the…
A: In this question we need to write a C++ program to find the number of tickets that can be sold. We…
Q: To find the total marks of a student in an assignment, we need to get the proposal marks, Task 2,…
A: Here I am providing the code and the output for the given problem
Q: rikanth is a school student. He studies in class 8th. One day his Math’s teacher came to the class…
A: Here I have taken input from the user for length, breadth, and height Now I have checked all the…
Q: Note: Please Answer in C++ Only Mr. Cook is the manager of Code cinemas and after a long break the…
A: The question is to write c++ code for the given problem.
Q: Mr. Cook is the manager of Code cinemas and after a long break the theatres are open to the public…
A: Input-Output Format: The first line of input will contain a single integer T, denoting the number…
Q: Problem 4: Buy and sell stocks 3 Leetcode - Best Time to Buy and Sell Stock III ⭐Try this first: Q.…
A: Answer: Algorithms: Step1: We have taken an examples {3,3,5,0,0,3,1,4} Step2: Then if the buy at…
Q: You are given N programming problems that must be solved in N days in any order. The two programming…
A: Program Approach: Including a necessary header file Defining the main method Declaring integer…
Q: A projectile is launched at an angle e and speed of u. The projectile travel time t, maximum travel…
A: - We have to code for the projectile. - We will use python here.
Q: You are tasked to create a program that will compute for the salary of an employee for a week. The…
A: we have to write a programme.
Q: draw the process flow for calculating the Income tax of an iemployee. the income tax to be paid by…
A: In step 2, you will get process flow.
Q: This is a programming assignment. You can use any programming language. Program a Genetic Algorithm…
A: ANSWER:--
Q: To complete the problem, nestedifs is use where the first if is dedicated to variable a while the…
A: We will use nested switch to solve the problem.
Q: Tidal Volume (TV) Inspiratory Reserve Volume (IRV) Functional Residual Capacity (FRC) Peak…
A: Answer: Capacity and Volume comes under static variable and rest dynamic variable
Q: Mr. Cook is the manager of Code cinemas and after a long break the theatres are open to the public…
A: Input-Output Format: The first line of input will contain a single integer T, denoting the number…
Q: A well-monitored transaction solution for Joe's Pizza, your friendly neighborhood pizza shop. Joe…
A: Required: Joe decides that he wants to have some personal time as soon as he can make enough income.…
Q: Using one line of R code, calculate the interest earned on an investment of $2000, assuming an…
A: You may use the following R code to determine the interest gained on a $2000 investment with a 3%…
Q: A company has 45 employers, 25 work as system developers (D) and (N) work as sales representer while…
A: Below is the flowchart:
Q: CODE IN R STUDIO USING R LANGUAGE. all the parts 1. A machine that fills 2-liter soda bottles is…
A: (a) Taking a sample size of 1000 we do a t-test with the hypothesized mean of 2000. Null hypothesis…
Q: Q3. A company has 45 employers, 25 work as system developers (D) and (N) work as sales representer…
A: In the given question we are required to Draw a Flowchart for the Following Tasks : A.) To Find the…
Q: Problem: This bowling center offers different charges for customer based different categories and…
A: Here's the program approach:Define the necessary data structures:struct Receipt: to store receipt…
Q: Create a query that returns a list of all patients and their family member (add a column primary…
A: Dear Student, To list all patients and their family member we use the SELECT statement. And to add…
Q: c++program An insurance agent offers 5 insurance packages to his potential clients; Individual,…
A: For this question we created five classes for five types of the insurances. To give the number of…
Step by step
Solved in 2 steps with 1 images
- Suppose you are trying to make a schedule for use of the auditorium for different clubs in a school. The auditorium can be used in the afternoons from Sunday to Thursday. There are five clubs: Music, Drama, Dance, Photography, Computer. There are a few rules that must be followed: a)The auditorium can be used by only one club on a day. b)Computer club wants to use on Monday or Thursday. c)Drama club wants on Wednesday or Thursday. d)Music club is fine with any day. Dance club wants on Monday or Wednesday. e)Photography club wants on Sunday, Tuesday or Wednesday. Formulate this problem as a CSP. Draw the constraint graph. Show the steps followed by backtracking search algorithm and derive a solution.using pythonShamira Laundry has designed a new calculation system for their shop. The price for each type is as follows: 10 Туре Price Clothes RM 15 for 1 kilogram blankets / towels RM 6 for 1 kilogram RM 10 for 1 kilogram comforter Only one type can be washed at a time. This laundry shop also provides discounts to its customers as follow: Total price >= RM30 Discount 10% from total price >= RM20 dan = RM15 danWrite collection of production rules to calculate electricity bill as per following rules: •If the units consumed are less than and equal to 300, then the cost is Rs 10/- per unit. •If the units consumed are more than 300 and less than and equal to 500, then the cost is Rs 12/- per unit. •If the units consumed are more than 500 and less than 1000, then the cost is Rs 15/- per unit and surcharge of 15% of bill is added. •If the units consumed are more than 1000, then the cost is Rs 15/- per unit and surcharge of 25% of bill is added. Trace the production rules for the sample execution of the system given below;Write collection of production rules to calculate electricity bill as per following rules: •If the units consumed are less than and equal to 300, then the cost is Rs 10/- per unit. •If the units consumed are more than 300 and less than and equal to 500, then the cost is Rs 12/- per unit. •If the units consumed are more than 500 and less than 1000, then the cost is Rs 15/- per unit…You are tasked to create a program that will compute for the salary of an employee for a week. The program should be based on the following requirements:1. An employee works for a regular of 40 hours a week. Beyond that is considered an over time. For example, an employee worked for 48 hours in that week, it means he has an 8-hour over time and he is entitled to an overtime pay.2. The overtime rate is 25% of the rate per hour of an employee and the overtime pay is computed as number of overtime hours multiplied by the overtime rate per hour.3. The gross pay of an employee is its salary without deductions. It is calculated by multiplying the rate per hour and the regular number of hours worked added with overtime pay. 4. Each employee is entitled to several benefits such as SSS, Pagibig and Philhealth. These benefits are deducted to the gross pay of an employee.5. The SSS contribution is computed as follows:Gross pay SSS<=5, 000 Php105.005, 001 – 10, 000 5% of the gross pay10,…NOTE: Solve this as soon as possible, I need this urgently. Reg No. = 24 Age = 18 a. Draw a flow chart for the following problem: Ali sells bunches of flowers at the local shopping centre at amount of (registration number*0.5 e.g if reg# is 100 then 100*0.5). One day Ali's boss, Hassan, tells Ali that at any time during the day he (Hassan) will need to know: • how many bunches of flowers have been sold • what was the value of the most expensive bunch sold • what was the value of the least expensive bunch sold • what is the average value of bunches soldComputer programmingPYTHON CODE: In this scenario you are the responsible engineer that optimize Air traffic flow of Ataturk Airport. Each day, number of airplanes take-off and landing varies between 50 and 70 each. However, if weather conditions go rough in Istanbul, it affects (decrease) %60 of landing and %40 of take-off. In Istabul possibility of rough weather events observed as 0.3 (%30). Create daily weather for a month considering rough weather possibility and print on screen. Calculate number of airplanes take-off and landing separately every day for a month. Calculate total take-off and landing for a month. Calculate low-median, high-median, median, mean and stdev of take-off and landing every day for a month. Sample Output: daily weather for a month: [1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1] daily take_off for a month: [61, 62, 61, 66, 54, 58, 40, 41, 54, 56, 52, 64, 51, 61, 53, 57, 54, 65, 39, 56, 70, 57, 62, 32, 59, 33, 35, 58, 39, 58] monthly…Write Python program to store salary of 100 employees into list salary. The program should determine BR1M (government assistantship program) allocation for each employee and the summary in the form of total number of employees who eligible to receive category A, B and C based on the following criteria: Category Salary Requirement (RM)Entitlement (RM) 4000Note: Please Answer in C++ Only Mr. Cook is the manager of Code cinemas and after a long break the theatres are open to the public again. To compensate for the loss of revenue due to Covid-19, Mr. Chef wants to maximise profits from each show from now on, while following the guidelines set by the government. The instructions are: If two people are sitting in the same row, there must be at least one free seat between them. If two people are sitting in different rows, there must be at least one completely empty row between them. This means that if there are people sitting in rows i and j where iNote: Please Answer in C++ Only Mr. Cook is the manager of Code cinemas and after a long break the theatres are open to the public again. To compensate for the loss of revenue due to Covid-19, Mr. Chef wants to maximise profits from each show from now on, while following the guidelines set by the government. The instructions are: If two people are sitting in the same row, there must be at least one free seat between them. If two people are sitting in different rows, there must be at least one completely empty row between them. This means that if there are people sitting in rows i and j where iAn automobile company manufactures both a two wheeler (TW) and a four wheeler (FW). A company manager wants to make the production of both types of vehicle according to the given data below: 1st data, Total number of vehicle (two-wheeler + four-wheeler)=v 2nd data, Total number of wheels = W The task is to find how many two-wheelers as well as four-wheelers need to manufacture as per the given data. Input Format First Input line – Accept value of V. Second Input line- Accept value for W. Constraints 2<=W W%2=0 V Print “INVALID INPUT” , if inputs did not meet the constraints. Output Format Written program code should generate two outputs, each separated by a single space character(see the example) Additional messages in the output will result in the failure of test case Sample Input 0 200540 Sample Output 0 TW =130 FW=70SEE MORE QUESTIONSRecommended textbooks for youDatabase System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSONC How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag…Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill EducationDatabase System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSONC How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag…Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education