Draw flowchart to input the year a person has purchased a new car. Also input the price of the car. Find the number of years of the usage of car in 2021. Based on the year of usage, calculate the new price of the car according to the following conditions, and display the results. Years of usage Price Calculation >15 Decrease price by 500 omr 10 -15 Decrease price by 300 omr 3-9 Decrease price by 250 omr <=2 Decrease price by 150 omr
Q: You are working as a teaching assistant at a local university, you gave your students a mathematics…
A: % Matlab script to determine the number of students who got grades greater % equal to 50 and number…
Q: A customer want to buy 6 items. He has only 50.50 OMR with him. The price of the products are…
A: Solution: Algorithm to check weather all the 6 products can be bought :…
Q: If u = 2, v = 3, w 5, x = 7, and y = 11, what is the value of each of the following expressions,…
A: All the results along with the explanation are given below.
Q: Draw Flowchart to the calculate the average from 25 exam scores?
A: Given: Flow chart for calculated 25 exam scores.
Q: Draw flowchart to input the year a person has joined a job in a company. Also input the salary. Find…
A: Required:
Q: Draw flowchart to input the year a person has purchased a laptop. Also input the price of the…
A: Flowchart will give us an overview of how the actual program flow will be. It helps understanding…
Q: Write an algorithm,and draw a flowchart to print the visa fee for tourists based on the following…
A:
Q: eate a flowchart that will compute for the grade of students and print its equivalent grade point.…
A: We need to read in assignments, seatwork, quiz and exam marks, then compute the
Q: Evaluate the following 2 expressions, using the values for A, B, and C as given. Note that T means…
A: Expression 1: A OR B OR C OR D => T OR F OR F OR T => T OR F OR T => T OR T => T
Q: Which of the below statements is equivalent to $subtract += $subtract ? Select one: O a. $subtract =…
A: $substract+=$substract is a short hand operation where the operation performed is addition
Q: Ahmed wants to gift his friend. He has 82.300 OMR. He wants the following products: Sport suite with…
A: Algorithm: Start Initialize amount=82.300 OMR Initialize sum=0 Initialize an array prices with…
Q: Q2/ Draw the flowchart required to find the sum of negative for numbers randomly (entered by user).…
A: Flow chart:- A flowchart is a representation that shows process in pictorial manner. They are mainly…
Q: Which statement correctly tests if the user entered the letter Y ? Select one: if userInput == "Y" :…
A: Option 2: if userInput = "y" this statement will assign the y value to the userInput so this…
Q: A customer want to buy 6 items. He has only 50.50 OMR with him. The price of the products are…
A: Algorithm: Start Declare and initialise variables…
Q: CAF that ask the user to enter time in Hour: Minutes: and Seconds. Your flowchart should convert the…
A: According to the provided information, we have to convert the provided time into seconds
Q: Draw the flowchart to • Read the number from the user • Check the number range then print the…
A: Required:
Q: For the following Flowchart, if N= 6, the value of F variable will be:
A: Correct answer is D
Q: The ABC Company plans to give a year-end bonus to each of its employees. draw a flowchart which will…
A: #include <iostream> using namespace std; int main(){ int n; float salary[50],bonus[50];…
Q: Q2: Draw a flowchart flowchart to read the temperatures for the month of July, then calculate and…
A: The Flow chart is as follows:
Q: A customer want to buy five items. He has only 75.0 OMR with him. The price of the products are…
A: No.of items = 6 Total_Cost = 0 items = 0 Total_OMR = 75 while items !=No.of Items Add…
Q: y=2 while y<=99: print (y) i+=7 is the end value.
A: I have provided a solution in step 2.
Q: A customer want to buy five items. He has only 70.0 OMR with him. The price of the products are…
A: Flowchart and algorithm represent how a problem can be solved in several steps programmatically. A…
Q: Ahmed wants to gift his friend. He has 82.300 OMR. He wants the following products: Sport suite with…
A: Ahmed wants to gift his friend. He has 82.300 OMR. He wants the following products: Sport suite with…
Q: The user will input a Philippine amount, then the said amount will be converted to different…
A: #include <stdio.h> int main(){//variable declarationint choice;double rates[] ={0.734719,…
Q: Write a flowchart to calculate the Graded Point Average (GPA) of a student for 20 courses. The…
A: A flowchart is a diagram that depicts a process, system or computer algorithm. Flowcharts use…
Q: Flowchart for this given task please and also please give a little explanation of how you did your…
A: The answer given as below:·
Q: • Draw a flowchart that obtains from the user, annual interest rate, the term of the loan (in years)…
A: The Answer is
Q: Draw a flowchart to calculate t
A: Flowchart to calculate the average of 30 exam scores Given below are instructions according to…
Q: Write a Scilab code to calculate the surface area and volume for a cube, cuboid, cone, and cylinder.…
A:
Q: • Draw a flowchart that obtains from the user, annual interest rate, the term of the loan (in years)…
A: - We need to create a flowchart for the given payment calculation. - We will divide the rate by 12…
Q: W XYZ Corporation pays its salespeople a commission based on the amount of their sales, as shown in…
A: x = 1 commission = 0 total_sales = 0 while(x<101): salesamount= int(input(f'\nEnter sales amount…
Q: 4. Ahmed wants to gift his friend. He has 82.300 OMR. He wants the following products: Sport suite…
A: Algorithm Step 1- Start Step 2- Amount=82.300,Sport_suit=15.700, Sport_shoes=32.00,…
Q: Draw a flowchart that will determine if a meeting room is in violation of fire regulations for the…
A: Flow Chart:This is an illustration of a sequential series of the various process stages. This is the…
Q: Draw flowchart to input the letter and display the messages as given below: Letter Semesters F, f…
A:
Q: A salesman in XYZ company is selling toothpaste for P89.75 each and tooth powder for P155.95 each.…
A: Flowchart: A flow chart is simply a chart of the measures. It displays sequentially ordered steps…
Q: rm the following: Ask the first name, middle initial and last name of the student. Prompt the user…
A: Implementation: import java.util.*;public class Main{ public static void main(String[] args) {…
Q: Q2: Draw a flowchart to read the temperatures for the month of July, then calculate and print the…
A: The Flow chart is as follows:
Q: You are required to create a Number Guessing Name, use rand function to generate a random number,…
A: #include <iostream> #include <stdlib.h> using namespace std; int main(){ int i,num;…
Q: 3. Write an Algorithm and Flowchart to read the marks of a student for 3 courses (Marks in the range…
A: A procedure is a series of coded instructions that tells a machine how to execute a program or…
Q: Ahmed wants to gift his friend. He has 82.300 OMR. He wants the following products: Sport suite with…
A: Given : Ahmed wants to gift his friend. He has 82.300 OMR. He wants the following products:Sport…
Q: Prompt the user to enter the principal amount(p), the annual rate of interest in percentage(r), and…
A: Start Take the input values. Read P,R,T Compute Simple intrest. Print simple intrest. Stop
Q: Write an Algorithm and Flowchart to find the visa processing fee for tourists based on age of the…
A: Algorithm to find Visa processing fee: Step1: start Step2: read age from user Step3: if age less…
Q: In the class ,the time of class 60 minutes ,At beaning 10 minutes the number of student are came 30…
A: TotalNumberstudents=slotOneStudentsCount+slotTwoStudentsCount
Q: Generate any random number between 1 and 10 by using Random Function then guess that number in…
A: As no programming language is mention. So i am using python to code.
Q: Prompt the user to enter the principal amount(p), the annual rate of interest in percentage(r).…
A: As you have not mentioned the language to solve I tried it in java and here is the answer. import…
Q: One large chemical company pays its salespeople on a commission basis. The salespeople receive $200…
A: Given data, One large chemical company pays its salespeople on a commission basis. The salespeople…
Q: Q2:Draw a flowchart to find sum and average ofeven numbers only between Low (5) and High (100).
A: Your flow chart is given below as you required.
Q: Write an Algorithm and Flowchart to read the marks of a student for 3 courses (Marks in the range 0…
A: An algorithm is used to solve the specific problem using a set of rules in a sequential manner.…
Q: x - - + ++y * ++ x У — — |
A: Answer: x=10 and y=5
Step by step
Solved in 2 steps with 2 images
- Change the following code to create an ordered list of your 3 favorite foods that will be sent in the response. * you don't need to add the rest of the Express code, you only need to edit this method app.get('/', function (req, res) { var output = ''; res.send(); });Write a sub ( sub rnd_Nums) which appends a random number (between 1 and 4 inclusive) of cells with a random value (between 1 and 20 inclusive) to the end of the list of numbers in column A. when the workbook is opened: Select worksheet B Call the sub rnd_Nums Please solve in Excel VBA!!The GTUC Company wants to produce a product orders report from its product orders file. Each record on the file contains the product number of the item ordered, the product description, the number of units ordered, the retail price per unit, the freight charges per unit, and the packaging costs per unit. Your algorithm is to read the product orders file, calculate the total amount due for each product ordered and print these details on the product orders report. The amount due for each product is calculated as the product of the number of units ordered and the retail price of the unit. A discount of 10% is allowed on the amount due for all orders over GHC100.00. The freight charges and packaging costs per unit must be added to this resulting value to determine the total amount due. using PSEDUCODE
- The GTUC Company wants to produce a product orders report from its product orders file. Each record on the file contains the product number of the item ordered, the product description, the number of units ordered, the retail price per unit, the freight charges per unit, and the packaging costs per unit. Your algorithm is to read the product orders file, calculate the total amount due for each product ordered and print these details on the product orders report.The amount due for each product is calculated as the product of the number of units ordered and the retail price of the unit. A discount of 10% is allowed on the amount due for all orders over GHC100.00. The freight charges and packaging costs per unit must be added to this resulting value to determine the total amount due.Q2. A. write a code to find the number of students who pass CS course, when their marks>=40 . As the list has 85 students. ( list must show how many students passed/failed) use htmp or py B. wite a code to print this shape: * * * * * * * * * * C. Write a code to find the area and parameter of a Tringle; Area =1/2 * High * Base Parameter= S1+S2+ BaseA company accepts user orders for its products interactively. Users might make the following errors as they enter data: The item number ordered is not numeric, too low (less than 0), or too high (more than 9999). The quantity is not numeric, too low (less than 1), or too high (more than 12). The item number is not a currently valid item. The company’s current inventory consists of the following items listed in Table: item number price 111 0.89 222 1.47 333 2.43 444 5.99 Create a class that stores an array of usable error messages; save the file as OrderMessages.java. Create your own OrderException class that stores one of the messages; save the file as OrderException.java. Create an application that contains prompts for an item number and quantity. Allow for the possibility of nonnumeric entries as well as…
- PLEASE DO IT IN PYTHON Q3:Create a series called 'directors' that contains each director's name and his or her average rating. Print out the type of your variable. Q4:Select the non-USA movies made after 1960 by Hayao Miyazaki.Save the result in a DataFrame called 'miyazaki', then print it. Here are the steps:1. Query the data ('df' DataFrame) based on the following conditions:- Non-USA movies (country_id != 1)- Movies made after 1960 (title_year > 1960)- Movies made by director Hayao Miyazaki (director_id == 46)2. Save the filtered data in a DataFrame called 'miyazaki' and print it Q5:Create a Pivot Table that shows the median rating for each director, grouped by their respective countries. Name your variable'pivot_agg' Q6:How long did the movie Gladiator aim to keep your attention? Save the series with this informationin a variable called 'gladiator_duration', then print it.The general speed limits in the Philippines in 60 km/h on most highways and 100 km/h on expressways. Your goal here is to compute the speed of automobiles based on distance travelled and time taken to cover this distance. Note: For this problem, you need to format the output to print the appropriate number of decimal places. You need to use System.out.format (Read: https://docs.oracle.com/javase/tutorial/java/data/numberformat.html) Input The input is composed of four positive integers representing the distance traveled in meters, and the 3 other inputs representing the time in hours, minutes, and seconds it took to cover the given distance. 2500·5·56·23 Output Output should contain 3 computed speeds i.e. meters/second, kilometers/hour, and miles per hour (note that a mile is equivalent to 1609 meters) separated by a space. 0.12·0.42·0.26C++ dont use cinn cout thanks!
- MATCH OUTPUT AS IT IS . FOLLOW QUESTION ----------------------------------------- Dr. Varun needs an application for his clinic to maintain all the appointments for the day. The application should make appointments on the basis of first come first serve basis. And it should also perform the following functions: insert new appointment, delete an appointment, display all the appointments, show next appointment, check if there is no appointment or number of appointments are full for a day. Use class templates to perform the above-mentioned operations. Write a C++ program to perform the Queue operation. Note:Use the following class template for Queue creation. template <class T>class Queue{ private: int front,rear; T *queue; int maxsize;}; Define the following function in the class Queue class Method name Description int isFull() The method is used to check whether the queue is full or not. void insert(T) The method is used to display the rear…Select distinct a.CUST_FNAME, a.CUST_LNAME, a.CUST_STREET, a.CUST_CITY, a.CUST_STATE, a.CUST_ZIP from LGCUSTOMER a, LGBRAND b, LGPRODUCT c, LGINVOICE d, LGLINE e Where a.CUST_CODE = d.CUST_CODE And b.BRAND_ID = c.BRAND_ID And d.INV_NUM = e.INV_NUM And c.PROD_SKU = e.PROD_SKU And b.BRAND_NAME = 'Foresters Best' And PROD_CATEGORY = 'Top Coat' And d.INV_DATE > '2017/07/15' And d.INV_DATE < '2017/07/31' Order By a.CUST_STATE, a.CUST_LNAME, a.CUST_FNAME; However it is not ordered correctly? Write a query to display the first name, last name, street, city, state, and zip code of any customer who purchased a Foresters Best brand top coat between 2017-7-15, and 2017-7-31. If a customer purchased more than one such product, display the customer’s information only once in the output. Sort the output by state, last name, and then first name(p) Using the SUMIFS function, write a formula in cell H64 to compute the total number of hours for which Small & Spot servers are rented. Copy the formula down to cells H65 to H69. (q) In cell I64, write a formula to compute the Average Hourly Rate for the Spot and Small servers. Average hourly rate = (Total Cost)/(Total Number of hours). Copy the formula down to cells I65 to I69. Screen shots attached below thank you!!