Write a program to calculate the total cost of the vehicle by adding basic cost with: i.excise duty(15%) ii.sales tax iii.octroi(5%) iv.road tax(1%) input the basic cost
Q: What exactly does the term "reduced" imply in the context of a computer with a restricted instructio...
A: INTRODUCTION: In the given problem statement, we are asked one question stating what does the word r...
Q: 23 15
A: Hey there, I am writing the required solution of the questin mentioned above. Please do find the sol...
Q: Write a Java program to test if a given string contains only digits and special symbols (+,=,,*,/,%,...
A: import java.util.Scanner; public class Check{ public static void main(String []args) { Stri...
Q: 1. What is Failover-Clustering and why do you think it is so widely used?
A: Failover clustering is Microsoft's implementation of the high availability cluster method for provid...
Q: oping, when does it come into play, and how can it be optimized for improved performance?
A: Scope The scope of a variable x in the program region where x is used to refer to its declaration. ...
Q: .In a Merkle hash of depth 6 (with up to 64 leaves Lo...Le3) what are the complementary nodes for L1...
A: We need to find the complementary nodes for L19.
Q: In this question, we are going to write a Racket function wordMaxIndex that calculates the maximum i...
A: Hey there, I am writing the required solution of the above stated question.Please do find the soluti...
Q: The question is, whether kind of program-level parallelism (data or control) is best suited to SIMD....
A: Introduction: Thus, when we consider whether triangles or triangles may have a Vertex as a point of ...
Q: Hydrogenoues seafoor?
A: The Answer is given below step.
Q: a) Write a queue code with Java comparable class which will store the records of 3 students i) Stude...
A: As per the requirement java program is developed. The two classes Student.java and StudentQueue.java...
Q: Define the concept of a unified memory architecture.
A: The goal of unified memory is to reduce data redundancy by copying data between separate areas of me...
Q: Many large organisations' database systems have been hacked, resulting in client information theft. ...
A: Database security: Database security is a set of tools, policies, and procedures for ensuring and ma...
Q: What is Amazon EC2 Auto Scaling,
A: There are limited number of server available .if number of requests are increasing the load on the s...
Q: Heating and cooling degree days are measures used by utility companies to estimate energy requiremen...
A: We need to write Python program for given scenario.
Q: What data type does Description have?
A: Introduction: A data type is a property that instructs a computer system on how to interpret the val...
Q: opose that we have three variables X1, X2 and X3, which are defined on the same domain of 2,3}. Two ...
A: Hey there, I am writing the required solution of the questin mentioned above. Please do find the sol...
Q: What is the definition of a window?
A: INTRODUCTION: Here we need to define the window in computer science.
Q: The term "reduced" refers to a computer that operates with a limited set of instructions. What does ...
A: The term "reduced" in that phrase was intended to describe the fact that the amount of work any sing...
Q: Which of the flip-flops accurately represents computer memory? Computer science
A: Introduction: Data storage elements include flip-flops and latches. A flip-flop is a device that kee...
Q: Get a string of alphabetic characters and return the value of the counter variable. The counter is i...
A: Hey there, I am writing the required solution of the above stated question.Please do find the soluti...
Q: What services does Amazon Web Services offer?
A: Amazon Web Services (AWS) is the most comprehensive and widely used cloud platform in the world, wit...
Q: The results of a recent IBM survey of 585 mobile application developers and managers revealed that j...
A: Introduction: FIMC is a market-leading provider of turn-key benefit plan solutions that enable finan...
Q: When surfing online, you get some strange data on an apparently secure website, and you realize you ...
A: Answer :
Q: When should an abstract class be used, when should an interface be used, and when should both be use...
A: Introduction: Abstract reasoning, sometimes referred to as abstract thinking, is the capacity to com...
Q: Explain DMA. How it overcome the shortcomings of other two technologies?
A: Direct memory access (DMA) is a technique that allows memory to be accessed without going through th...
Q: What are some of the applications of SSH? Make a list of SSH acronyms and define them briefly. Comp...
A: Introduction: SSH is a cryptographic protocol that allows servers to communicate securely over an in...
Q: What is the bit mask design to invert the bits in the position 0 through 3 of the register AL, while...
A: Explanation 1) We need to invert bits at position 0 to 3 while retaining bit position 4 to 7 of AL....
Q: What is the catastrophe recovery process's principal objective?
A: Introduction: Catastrophe recovery/ Disaster recovery: Disasters such as fire, flooding, terrorist a...
Q: A computer has an average main memory access time of 60 ns. We want to reduce this time to 20 ns by ...
A: A computer has an average main memory access time of 60 ns. We want to reduce this time to 20 ns by ...
Q: What is data warehousing, and how does it vary from a data warehouse in terms of functionality
A: Introduction: Data warehousing must be defined. After that, we must explain how data warehousing dif...
Q: Read n'n matrix. Inter change upper, lower triangle elements. Impiement it in C language
A: To interchange upper and lower triangular elements, arrays concept in C is used.
Q: Referring to the ArrayBoundedQueue implementation in Chapter 4. What is the order of growth executio...
A: referring to the ArrayBoundedQueue implementation , what is the order pf growth execution time of th...
Q: Q3. If the algorithm leads to wrong outputs, then this is definitely caused by invalid inputs. O Tru...
A: An algorithm is a step-by-step process of solving a problem.
Q: Assume a computer has two network interface cards, NIC1, a Wifi USB, and NIC2, an on-board Ethernet....
A: The network interface card (NIC) enables computers to interact across a computer network via wired o...
Q: What exactly is load balancing? What are the two Load Balancing approaches? Write a paper on Algo...
A: INTRO Load balancing refers to effectively dispensing incoming community visitors across a group of ...
Q: What are the four responsibilities that every router has?
A: Introduction: Router: It is a network device that forwards data packets. It forwards data packets f...
Q: If so, do you have any particular ways for tracking data flows that you would suggest?
A: Introduction: A data flow diagram (DFD) depicts how data flows within a process or system.It illustr...
Q: One of the benefits of a close :command is
A: C<R> refers to the close option. One of the benfits of a close command is Only close the squar...
Q: Find the sop (sum of Poneluct) of this following Expresion. F(8 Y.Z)= Em[011, 3,5,6)
A: The Answer for the given question is in written format given in step-2.
Q: 1. What is Failover-Clustering and why do think it is so widely used? you
A: Failover Clustering: Failover clusrting which support ensures that a business intelligence system re...
Q: quick overview of cybercrime as well as a conclusion?
A: Cybercrime is also called computer crime.
Q: In the U.S. fuel efficiency of cars is specified in miles per gallon (mpg). In Europe it is often ex...
A: function Lkm = mpgToLpkm(mpg) % multipy by 0.425144 to get % get kmpl then divide 100 % by kmpl to...
Q: a) Categorize FOUR (4) main layers of automata theory, and explain each layer briefly. b) List ONE (...
A: Introduction: Automata is a machine that can accept the strings of a language L over an input alpha...
Q: What counter-arguments do you have against the notion of a single programming language for all progr...
A: The following are some arguments against having a single programming language for all programming do...
Q: When to utilize implicit heap-dynamic variables, how to use them, and why to use them are all covere...
A: Introduction: The variable is tied to heap storage when a value is assigned to an IMPLICIT HEAP-DYNA...
Q: How do the SPEC CPU benchmarks address issues in the Whetstone, Dhrystone, and Linpack benchmarks th...
A:
Q: Why were timers required in our rdt protocols in the first place?
A: The answer of this question is as follows:
Q: Explain or draw a diagram demonstrating which packets (IP datagrams, Ethernet frames, TCP segments) ...
A: Protocol Internet: In an IP packet, a header and payload are included inside the same packet. There ...
Q: Define software engineering and explore why it's important to use software engineering concepts when...
A: The answer of this question is as follows:
Q: What is the first general-purpose computer which consumes a huge room as its storage? a) EDVAC b) EN...
A: Your answer is given below with explanation.
Write a program to calculate the total cost of the vehicle by adding basic cost with:
i.excise duty(15%)
ii.sales tax
iii.octroi(5%)
iv.road tax(1%)
input the basic cost
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
- You found an exciting summer job for five weeks. It pays a per hour rate (which will be input to the program), and you will work the same number of hours each week (also input). Suppose that the total tax you pay on your summer job income is 14%. After paying the taxes, you spend 10% of your net (after tax) income to buy new clothes, accessories, and school supplies. After subtracting those items from your budget, you use 25% of the remaining money buy savings bonds. In addition, your parents buy additional savings bonds for you at 50% of the amount that you buy. Write a program that prompts the user to enter the pay rate per hour and the number of hours you will work each week. The program then outputs the following:• Your income before and after taxes for your summer job.• The money you spend on clothes, accessories, and supplies.• The money you spend to buy savings bonds.• The money your parents spend to buy additional savings bonds for you.Your input for this program should be only…(Statistics) This is the formula for the standard normal deviate, z, used in statistical applications: z=(X)/ X is a single value. refers to an average value. refers to a standard deviation. Using this formula, you need to write a program that calculates and displays the value of the standard normal deviate when X=85.3,=80,and=4. a. For this programming problem, how many outputs are required? b. How many inputs does this problem have? c. Determine a formula for converting input items into output items. d. Test the formula written for Exercise 7c, using the data given in the problem.(Modify) a. Modify the program you wrote for Exercise 7 to provide the mass of a person as an output, given his or her weight as an input to the program. Use your program to determine the mass of a person who weighs 140 lbf on Earth. b. Modify the program written for Exercise 7a to also output the person’s weight on Mars and the moon. The pull of gravity on Mars is 12.54ft/sec2=3.728m/s2,andonthemoonis5.33ft/sec2=1.625m/s2.
- When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making periodic payments over a certain period of time. Of course, the lending company will charge interest on the loan. Every periodic payment consists of the interest on the loan and the payment toward the principal amount. To be specific, suppose that you borrow $1,000 at an interest rate of 7.2% per year and the payments are monthly. Suppose that your monthly payment is $25. Now, the interest is 7.2% per year and the payments are monthly, so the interest rate per month is 7.2/12 = 0.6%. The first months interest on $1,000 is 1000 0.006 = 6. Because the payment is $25 and the interest for the first month is $6, the payment toward the principal amount is 25 6 = 19. This means after making the first payment, the loan amount is 1,000 19 = 981. For the second payment, the interest is calculated on $981. So the interest for the second month is 981 0.006 = 5.886, that is, approximately $5.89. This implies that the payment toward the principal is 25 5.89 = 19.11 and the remaining balance after the second payment is 981 19.11 = 961.89. This process is repeated until the loan is paid. Write a program that accepts as input the loan amount, the interest rate per year, and the monthly payment. (Enter the interest rate as a percentage. For example, if the interest rate is 7.2% per year, then enter 7.2.) The program then outputs the number of months it would take to repay the loan. (Note that if the monthly payment is less than the first months interest, then after each payment, the loan amount will increase. In this case, the program must warn the borrower that the monthly payment is too low, and with this monthly payment, the loan amount could not be repaid.)(Statistical) In many statistical analysis programs, data values considerably outside the range of the majority of values are simply dropped from consideration. Using this information, write a C++ program that accepts up to 10 floating-point values from a user and determines and displays the average and standard deviation of the input values. All values more than four standard deviations away from the computed average are to be displayed and dropped from any further calculation, and a new average and standard deviation should be computed and displayed.4. During each summer, John and Jessica grow vegetables in their backyard and buy seeds and fertilizer from a local nursery. The nursery carries different types of vegetable fertilizers in various bag sizes. When buying a particular fertilizer, they want to know the price of the fertilizer per pound and the cost of fertilizing per square foot. The following program prompts the user to enter the size of the fertilizer bag, in pounds, the cost of the bag, and the area, in square feet, that can be covered by the bag. The program should output the desired result. However, the program contains logic errors. Find and correct the logic errors so that the program works properly. // Logic errors. #include #include using namespace std; int main() { double costs double area; double bagsize; cout > bagsize; cout > cost; cout > area; cout << endl; cout << "The cost of the fertilizer per pound is: $" << bagsize / cost << endl; cout << "The cost of fertilizing per square foot is: $" << area / cost << endl; return 0; }
- 3- Write a Python program to calculate the revenue from a sale based on the unit price and quantity of a product input by the user. The discount rate is 10% for the quantity purchased between 100 and 120 units, and 15% for the quantity purchased greater than 120 units. If the quantity purchased is less than 100 units, the discount rate is 0%. See the example output as shown below. Example Input: Enter unit price: 25 Enter quantity: 110 Output: The revenue from sale: 2475.0$Read the user the number of groups (minimum 6) • For each group: group name and the number of students minimum 10 are entered. • For each student in a group: grade should be entered, and grade category has to be computed and printed. • For each group, the number of student and percent ratio in each grade category should be computed and printed. • Finally, the program should print a summary report with the following details: 1. Number of groups. 2. Total number of students and percent ratio of students in each grade category in all groups. 3. The name of the best group which has the maximum percent of students in grade A category and these students percent ratio. 4. The name of the worst group which has the maximum percent of students in the grade F category and these students percent ratio. grade category А 90–100 % 80-89 % 70–79 % D 60-69 % F < 50 % ps; this program should not use array and only one main methodWhen Jacob Steinberg began his trip from California to Vermont, he filled his car’s tank with gas and reset its trip meter to 0. After traveling 324 miles, Jacob stopped at a gas station to refuel; the gas tank required 17 gallons. Jacob wants a program that calculates and displays his car’s gas mileage at any time during the trip. The gas mileage is the number of miles his car can be driven per gallon of gas. Desk-check your solution’s algorithm using 324 as the number of miles driven and 17 as the number of gallons used; then desk-check it using 280 and 15.
- Airline companies apply baggage restrictions for their passengers. An airline company has decided to apply a 10kg limitation for passengers' hand luggage and 20kg for their normal baggage. When passengers arrive, they enter their hand and normal luggage weight from the keyboard. If passengers exceed their normal baggage allowance of 10 dollars per gram, they pay 12 dollars per kg. Accordingly, write the program that calculates the baggage price of the airline they will go to according to the baggage values entered by the arriving passenger and keeps this from closing the program for each passenger. Note: If hand and normal baggage allowances are stretched below the maximum value, the payment amount will be considered not negative. An example printout is given on the right. Geri bildirim gönderInstructions A local biologist needs a program to predict population growth. The inputs would be: 1. The initial number of organisms, as an int 2. The rate of growth (a real number greater than 1), as a float 3. The number of hours it takes to achieve this rate, as an int 4. A number of hours during which the population grows, as an int For example, one might start with a population of 500 organisms, a growth rate of 2, and a growth period to achieve this rate of 6 hours. Assuming that none of the organisms die, this would imply that this population would double in size every 6 hours. Thus, after allowing 6 hours for growth, we would have 1000 organisms, and after 12 hours, we would have 2000 organisms. Write a program that takes these inputs and displays a prediction of the total population. An example of the program input and output is shown below: Enter the initial number of organisms: 10 Enter the rate of growth (a real number › 1]: 2 Enter the number of hours to achieve the…this is a problem that I have how would I go about solving it? Stadium Seating There are three seating categories for a BC softball game. Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how many tickets for each class of seats were sold. Then display the total number of tickets sold, the amount of income generated from each class and the total ticket sales. Note: Use constants for the seat prices. Sample output: WELCOME TO THE BROWARD COLLEGE STADIUM!! Please enter the number of Class A seats sold: 100 Please enter the number of Class B seats sold: 200 Please enter the number of Class C seats sold: 150 ************************************************** Total number of tickets sold: 450 Income Generated: Class A:$1500.00 Class B: $2400.00 Class C: $1350.00 Total: $5250.00