draw a flowchart for the following Sconario, Design an algrithm and Take the Basic Salary of an emplyee mput and Compare il as: as If The Salary is greater than 5000 then add hause reut of 25% of basc basic Jalary and display the total salary It he basic Salary is less then 5oro then add 10% house rent and 5% Convayance allow ance and display the total
Q: Draw a flowchart for a program that: 1) Asks the user to enter from the keyboard electricity…
A: As per the requirement program is completed. Algorithm: Step 1: Write the main() method Step 2:…
Q: build a flowchart for this programming exercise the area of a rectangle is calculated according to…
A: A flowchart is work flow of any logical program or algorithm which is represented using diagram.…
Q: Write the algorithm and draw the flow chart for a program that calculates and displays a person’s…
A: The solution is as follows: Here is the pseudo code
Q: Design the flowchart and algorithm of a program that ask for an age and a name, identify the…
A:
Q: Draw a flowchart that expresses the following pseudocode: input exam grade from the user if( grade…
A: FLOWCHART: The flowchart is basically the representation of the steps and the decisions which are…
Q: Write an algorithm and draw a flowchart to solve the following problems: 1. Read the marks of 3…
A: ALGORITHM: start Declare student 2D array for storing marks of 3 students for 3 courses. Declare…
Q: Draw a flowchart for the following situation: Input a person’s age. If the person is less than 21…
A: Flow Chart is a pictorial representation of solving a problem Here, we have to check a condition…
Q: C++ please! Suppose you have a certain amount of money in a savings account that earns compound…
A: Start Input principal amount Input rate of interest Input the term Calculate final amount Print…
Q: Draw a flowchart '. salary. Then it outputs a message as per the following conditions: .. that…
A: The flowchart is a diagram in which we represent the problem solution in a pictorial way by using…
Q: Write an algorithm and draw a flowchart to solve the following problems: 1. Read 3 student marks for…
A: Algorithm: An algorithm is a step-by-step set of instructions to solve a particular problem.…
Q: Write an algorithm and draw a flowchart to solve the following problems: 1. Read 3 student marks for…
A: The algorithm is a step-by-step process to perform a particular task whereas the flowchart is its…
Q: 2. Write a program that calculates marked area of the square, given input of square length and the…
A: ALGORITHM:- 1. Take input from user. 2. Check if square side is greater than circle diameter. 3. If…
Q: (C PROGRAMMING ONLY) 1. Leap Year Detector by CodeChum Admin Let’s try to find out whether a year…
A: I have provided C CODE along with CODE SCREENSHOT and 2 OUTPUT SCREENSHOTS-------------
Q: Write an algorithm and draw a flowchart to solve the following problems: 1. Read the marks of 5…
A: Solution :: ALGORITHM : (1)START (2)Read the marks of 5 cources c1,c2,c3,c4,c5 (3)Compute…
Q: Practice Questions • Write an Algorithms & draw a Flowchart for the following 1. To accept basic…
A:
Q: Design a retirement planning calculator for Skulling Financial Services by pseudocode or flowchart.…
A: The following is the required Pseudo code that gives output of the remaining saving balances: Start…
Q: Write an Algorithm and draw a Flowchart to solve the following problems: 1. Read the marks of a…
A: The above question is to find out the CGPA of students . And the task is to implement this in the…
Q: Draw a (A) flowchart and (B) develop a c++ program to: Read an employee name (NAME), overtime hours…
A: Here A= Absent O=overtime and N=Name
Q: Task 1 Draw a flowchart and write pseudocode for each of the following scenarios for the ABC…
A: Task 1: (a) Flowchart: Pseudo-code: main () float mat_fee = 12000; float…
Q: . Design the program that will calculate for a parking charge. Th rogram will ask from the user to…
A: The answer is..
Q: 1. DRAW a flowchart that will compute for the midterm grade of a student. The midterm grade is equal…
A: Given: FLOWCHARTING EXERCISES 1. DRAW a flowchart that will compute for the midterm grade of a…
Q: Write algorithms to solve different programming problems using flowchart and pseudo-code. Problem:…
A: Lets see the solution in the next steps
Q: Draw the flowchart for the following Read the variable theta(t) and a • Calculate the value of Z by…
A: pow() is a function used to raise a variable to the power sqrt() is a function used to find the…
Q: Create a flowchart of the following problem: The manager of a football stadium wants you to…
A: Start Initialise variables "PremiumCost" as 250, "BoxCost" as 100, "SidelineCost" as 50 and…
Q: A program is required to calculate an employee’s net salary from the gross pay. The net salary is…
A:
Q: Draw the flowchart and write the equivalent code for the following problems: Marcy’s Department…
A: Actually, given information Marcy’s Department store is having a BoGoHo (Buy One, Get One Half Off)…
Q: Develop Pseudo-code (English-like) for :Also a Flowchart Develop an algorithm to compute gross pay.…
A: Pseudo-code: It is the structural representation of the program that consists of the descriptive…
Q: 2. ABC Company needs a weekly payroll report for its sales people. Input to the program is the…
A:
Q: Q1/create a QBasic program that will determine the price of traveler ticket based on customers age.…
A: Qbasic Code:- Print "Enter age" Input AGE If AGE <= 4 Then FARE = 40 ElseIf AGE <=…
Q: PROB D. 1. Write an algorithm and draw a flowchart to print the square of all numbers from LOW to…
A: NOTE: We’ll answer the first question since the exact one wasn’t specified. Please submit a new…
Q: ate a Flowchart that will compute the real estate tax, given the following formulas: a. If value of…
A: I have given the c++ code for the given conditions below.
Q: Write a program which will accept the price and description of three items. It will then display the…
A: Read the product description and price for Item1 Declare a variable to store total and initialize to…
Q: Draw a flowchart for the following situation: Input a person’s age. If the person is less than 40…
A: Find Your Solution Below
Q: Design a flowchart for the followings: if value is equal to 3, day of the week is Tuesday; els if…
A: it is a start symbol it is a conditional symbol(it is used to check condition) it is used to print…
Q: A flowchart for Solid Waste Processing is given below. It depicts all the necessary steps to execute…
A: The given flowchart accepts the waste from the user and determines the processing of solid waste by…
Q: salesman in XYZ company is selling toothpaste for P89.75 each and tooth powder for P155 95 each. The…
A: Flowchart is given in next step:
Q: Draw a flowchart and write pseudocode for each of the following scenarios for the ABC College:a. The…
A: Hey, since there are multiple questions posted, we will answer first question. If you want any…
Q: The cost to ship a package is a flat fee of 75 cents plus 25 cents per pound. 1. Declare a constant…
A: Given:
Q: Write a C++ program that asks for the number of units purchased and computes the total cost of the…
A: Please find the answer below
Q: reate a four-function calculator for fractions by using following formulas. a) Addition: a/b + c/d =…
A: Aim: To create a four- function calculator for fraction. Based on the given formula, basic…
Q: 1. Draw a flowchart that will compute for the midterm grade of a student. The midterm grade is equal…
A:
Q: Write an algorithm and draw a flowchart to solve the following problems: 1. Read the marks of 2…
A: As per Bartleby guidelines: “Since you have asked multiple question, we will solve the first…
Q: Draw a flowchart and write pseudocode for each of the following scenarios for the ABC College: a.…
A: Hey, since there are multiple questions posted, we will answer first question. If you want any…
Q: Suppose a person wants to apply for a loan in a bank. The bank gives loan on a fixed interest rate…
A: SOURCE CODE: #include<iostream> using namespace std; int main(){ double…
Q: Write an algorithm and draw a flowchart that will calculate the roots of a quadratic equation ax2 +…
A: Define header files <math.h> and <stdio.h> for math and io operations. Define main…
Q: The cost to ship a package is a flat fee of 75 cents plus 25 cents per pound. 1. Declare a constant…
A: The program takes ship weight in pounds as input from the keyboard. we know the values of the flat…
Q: Write an Algorithm and draw a Flowchart to solve the following problems: 1. Read the marks of a…
A: Start Input 5 marks Calculate average Calculate gradePoint Calculate CGPA Display CGPA Stop
Q: Task 2 Write an algorithm and draw a program flowchart to find the eligibility of admission for a…
A:
Step by step
Solved in 2 steps with 1 images
- Scenario:One of the renowned supermarket in Dhaka City, “Shwapno” is celebrating their firstanniversary of opening. They have become very popular among people in a short amount oftime. As a method of celebration they have designed three interesting and exciting offer for theircustomers for that day only!! The offers are described as follows:Offer 1: This offer says, if the name of any customer starts with “S” OR ends with “o”, theywill receive a gift which contains 1 kg miniket rice and 1 litre soyabean oil. This offer isdedicated from their name, Shwapno.Offer 2: This offer says, if one customer have taken products and his/her total product weightis less than 1.50 kg, then Shwapno will give all the products to the customer for free. If the totalweight is 1.50 kg or more, the customer will have to pay the full amount.Offer 3: This offer says, if a customer is aged less than 15, then he/she will receive chocolates.If aged 15 or more, then no gifts for the customer.Implementation:Create…The first line consist a number X i.e., the number of test cases. The first line consists three space-separated integers N, Q1, and Q1. Then Q1 lines follow, each containing a description of a road proposed0. Each of these lines contains three space-separated integers p, q, and r, where p and q denote the end points of the road and r denotes the associated cost. Then Q1 lines follow, each containing a description of a road proposed by Brian's company in the same format.Output a single line for each test case. If it is impossible to choose a subset of the roads in such a way that for each pair of cities, there is exactly one path of roads connecting them, output a single line containing "No way" for that test case. Otherwise, output a single line containing two space-separated integers: the maximum profit Brian can gain and the minimum total cost of the chosen roads that yields the maximum profit.Input:13 1 10 1 10 1 3Output:No wayRead this:Selective Service Registration Registration with the Selective Service is mandatory in America. The law states "it is the duty of every male citizen of the United States between the ages of 18 and 25, to register." The law does not require women to register. Failure to register for selective service is a crime. If found guilty, a person could be fined up to $250,000. They might also receive a sentence of five years in prison. All men over 18 should register online at the Selective Service System website (www.sss.gov). Registration can also be done at any US Post Office. It is a duty that allows for freedom in America. Explain the purpose for registering with the Selective Service System. Is this action a duty or a responsibility?
- 0 2 Write the Reachability matrix 3Katanga Stars is a team of women who perform cultural dance at various functions across the country. The team has a fixed membership of 9 members. Within these 9 members, there is a management committee of 4 members. For each function where they are hired to perform, the amount collected is different and is distributed as follows;• 50% of the fees goes to the consolidated account where each member owns equal shares.• The remaining 50% is shared among the 9 members such that each of the 4 management committee members gets 6.25% and each of the other members not on management committee gets 5%.For example, suppose Katanga Stars is paid UGX 1,000,000/= for a performance at a certain wedding ceremony, then, UGX 500,000/= goes to the consolidated account. Each management committee member gets UGX 62,5000/= while each of the other members gets UGX 50,000/=By assuming that Katanga Stars performs in exactly 5 places in a year, write a C program that performs the following tasks;• Uses a loop…DISCRETE STRUCTURE Alia went to a fast-food restaurant. She has been offered to buy a meal-deal with discounted price. The meal-deal set can only have one main menu and one side or one beverage. Main menu Pizza – Blazing Seafood • Pizza – Chicken Supreme . Pizza- Beef Pеррегoni Burger – Single cheese Burger – Double cheese Side Crispy Fries • Potato Wedges • Cheesy Pop • Chicken Fries • Sweet Potato Fries Beverage . Соса-Cola • 7 UP • Lemonade • Peach Tea • Lemon Tea i. How many ways a meal-deal can be formed if Alia prefer a set that contain burger? ii. How many ways a meal-deal can be formed if Alia does not like Coca-Cola?
- A part of the eligibility criteria is summarized below: • Weight: You must weigh at least 110 lbs to be eligible for blood donation for your own safety. • Age: You must be at least 17 years old to donate to the general blood supply • Blood Pressure: Acceptable as long as your blood pressure is below 180 and more than 90 systolic (first number) and below 100 and more than 50 diastolic (second number) at the time of donation. • Pregnancy: Persons who are pregnant are not eligible to donate. Wait 6 weeks after giving birth. • Antibiotics: A donor with an acute infection can not donate. Acceptable after finishing oral antibiotics for an infection (bacterial or viral). • Ebola Virus: You are not eligible to donate if you have ever had Ebola virus infection or disease Question 1: Draw a flowchart to check whether the blood donor is eligible or not, using the eligibility criteria above Question 2: Write the python code to ask the user to enter the age, weight, and blood pressure and…Please Do it Fast Question # 01: [CLO1, PLO1] Calculate the “loss in percentage” due to delayed entry in the market for a product launch. The product life time is “2 years” and the delay time is given below: No Delay 1 month delay 6 months delay 1 year delaywrite a c pragram to read the age of a candidate and determine whether it is eligible for casting his or her vote
- 19. The following are the deductions from the private employee’s salary except: a• GSIS contributions b• Pag ibig c• Phil health d• W/ tax e• None of the aboveq no 3: A certain grade of steel is graded according to the following condition: Hardness must be greater than 40 Carbon contents must be less than 0.8 Tensile strength must be greater than 5000 The grades are as follows: Grade is 10 if all the three conditions are met. Grade is 9 if conditions 1 and 2 are met. Grade is 8 if conditions 2 and 3 are met. Grade is 7 if conditions 1 and 3 are met. Grade is 6 if only one condition is met. Grade is 5 if none of the conditions are met. Write a C++ program which will require user to give values of hardness, carbon content and tensile strength of the steel under consideration then determine the grade of steel and outputs the grade of the steel.An electricity board charges the following rates todomestic users to discourage large consumption ofenergy. The board desired to collect more money forthe customers those who are consuming more energy.So, they designed the following rule to calculate thebill.From their consumed energy,For the first 100 units - 10 Paisa per unitFor next 200 units- 20 Paisa per unitBeyond 300 units30 Paisa per unitIf the total cost is more than 10 OMR, then anadditional surcharge of 15% is added with thetotal cost to find the Bill Amount.Write a Java program to read the consumed energy ofacustomer and thencalculate the Bill Amountaccording to the above rule and then print theconsumed unit of energy with the Bill Amount.Note: Write a Java Program using Multi-way if-elsestatements and rewrite the same program by usingswitch O case statement. Can you recognize bothswitch case and multi-way if-else statements arehaving the same effect or not?