Following is a problem statement. Which of the below provides is the correct variables used for the problem statement? The cellular company charges 50 cents per minute for the first three minutes of a call, regardless the length of the call, for every minute after the first three minutes an additional 15 cents is added to the cost, VAT of 14% is added to the total cost of the call. Write a program that allows the user to enter the duration of a phone call in minutes. Calculate and display the price of the phone call the user made.
Q: Discuss how to prevent data loss and computer crashes by doing regular maintenance and using…
A: Introduction: In the event of a crucial information failure, it creates a copy of the data that can…
Q: computer science - Discuss the four possible approaches a project organisation can take to…
A: Introduction: The first consequence for reducing risk is avoidance. It is best to entirely eliminate…
Q: The counting concept underpins the operation of a digital computer. why?
A: Introduction: A concise explanation of the logic that underpins the operation of a digital computer…
Q: computer science - Define the risks. Discuss the various types of threats and their sources.
A: Introduction: A computer security risk is something on your computer that can harm or steal your…
Q: Please provide a brief outline of the benefits and drawbacks of connectionless protocols as a…
A: In connection-less protocols, no channel/connection is established for sending packets from sender…
Q: Show the results of the FIFO algorithm using the following page reference string with 3 available…
A: FIFO: Its abbreviation is First In First Out. This is the simplest page replacement algorithm. In…
Q: Apex Assignment: Create a apex class called addition and then create a method to add the 2 integer…
A: The correct answer for the above mentioned question was given in the following steps.
Q: using java to solve this algorithm problem
A: The function is expected to return an INTEGER_ARRAY.The function accepts the following…
Q: What does having a monochrome printer entail?
A: When we talk about a monochrome printer, it means, it is a printer that prints using black ink only.…
Q: Computer science: A work breakdown structure is what? What resources and equipment are utilised to…
A: Work breakdown structure:- A WBS in the fields of project management and systems engineering is an…
Q: The first two bytes of a 2M x 16 main memory have the following hex values: 1. Byte 0 is FE 2. Byte…
A: Binary Values it means the datas which are stored as the sequences of the binary which is ones and…
Q: What are the core principles of a wireless network?
A: The question is to write the core principles of a wireless network.
Q: Explain what computer a firewall is in terms of network security and how it is employed in network…
A: Introduction: A firewall is a piece of cybersecurity equipment that filters network traffic.…
Q: What is the function of the HLR entity in a GSM network?
A: Introduction: A wireless network database storing client data such as service entitlements and call…
Q: If I have two identical molecules, which I know the coordinates of these molecules, How Can I write…
A: Start Initialize the variables. Perform the operations. Print the output. Exit.
Q: Make brief notes about the following: 1. Thrashing 2. Monitor 3.The POSIX threads.
A: Thrashing:- Thrashing in computing is an issue caused when virtual memory is in use. It occurs when…
Q: Assuming the kid is connected to the school's LAN, what happens when they access the internet and…
A: Introduction: A local area network-LAN, is a group of connected devices in a single physical place,…
Q: computer science - Why is the TRAIN LAW being realized/implemented?
A: Introduction: The full name of the TRAIN law is Tax Reform for Acceleration and Inclusion Law.
Q: Talk about how important system administration is to an organisation.
A: Introduction: The term "system administrator" refers to the person in charge of configuring and…
Q: LWC Assignment: Create a LWC component to display the output. When we click on the checkbox it will…
A: What is LWC: Lightning Web Components uses core Web Components standards and provides only what’s…
Q: Construct the truth table of the given compound proposition.
A: To Construct the truth table of the given compound proposition.
Q: What are the shortcomings of a secret cryptography technique?
A: Introduction: Shortcomings in the top-secret cryptography method
Q: What is A. I
A: Artificial intelligence is really a large field of computer science that deals with the…
Q: what is the introduction of mobile security and mobile infrastructure? what are the examples of…
A: Introduction: The term "mobile device security" describes the safeguards put in place to guard…
Q: The reason why you subscribed the internet plan (the download and upload speed) and from which ISP.
A: The reasons to subscribe the internet plans with respect to download and upload speed and how is ISP…
Q: Initialize the fields in the object
A: Given :- In the above question, the term constructor in programming language is mention in the above…
Q: Assume we are using the simple model for floating-point representation using a 14-bit format, 5 bits…
A:
Q: The separation will prevent an attacker from getting access to a less critical system, hence…
A: Introduction: Inability to Recognize the Needs of the Business: The failure to grasp the business's…
Q: Explain what is meant by the zone routing protocol for advanced routing ?
A: Zone Routing Protocol, or ZRP, is a hybrid Wireless Networking routing protocol that sends data over…
Q: For the sequence described below, indicate which of the following properties describes the sequen an…
A: Increasing property: For all n, an <= an+1 Decreasing property: For all n, an >= an+1…
Q: Which is an advantage of symmetric key encryption? Strength Speed Error correction Key management…
A: As I have read the guidelines I can provide answers to only 3 parts of the questions in case of…
Q: construct a programming-based version of the factorial function, and prove the time compexity
A: Factorial is the product of all the integers below a given number; for example, factorial four (4!)…
Q: Create a new Java project/class called FamilyMembers.
A: Introduction: In this question, we are asked to write a JAVA program to create a class of…
Q: “The size of the keyspace is the most important consideration for the security of an encryption…
A: A keyspace is the set of all valid or distinct keys of a given encryption algorithm. The encryption…
Q: Describe how hackers employ dictionary and brute force attacks.
A: Introduction: In most cases, an attempt like this one is undertaken to hack the system and decipher…
Q: Define context free grammar and write come free grammar for the languages, L = {abick li+j=k, i20,…
A:
Q: Authentication, authorization, and roles can be used to protect enterprise systems
A: Introduction: Enterprise systems may, in fact, be safeguarded by employing authentication,…
Q: In this problem you are provided with a CFG/BNF and you are to determine which of the following…
A:
Q: How can social media and computer technologies impact both your and your peers' social skills? List…
A: There are many issues related to the use of computers and social media that affect social skills.…
Q: The alphabets a, b, c represent integers forming a two digit number 'ab' and a three digit number…
A: Lets see the solution in the next steps
Q: GSM time slot is 577 s (microseconds) in duration and includes far more than a snapshot of each…
A: The answer is
Q: Verilog Question Lets say i have a module that outputs a 32 bit number. I want to grab bits 8-14 or…
A: Verilog is used to simplify the process and make the Hardware Description Language (HDL) more robust…
Q: Create a subclass of the Employee class from Question 2 named ShiftSupervisor. Add the salary and…
A: class ShiftSupervisor(Employee): def __init__(self, name, idnumber, salary, bonus):…
Q: Which layer in the OSI model transfers the bit stream through the network with an electric signal, a…
A: Below is the answer to above question. I hope this will be helpful for you...
Q: html and javascript to design the form below and store in a database
A:
Q: Why would someone use a line printer?
A: Introduction: Line printers utilize persistent structure paper which is generally punctured rather…
Q: MCQ3102: The physical layer is concerned with the movement of which of the following over the…
A: This mcq is related to physical layers.
Q: What might a cloud migration business case look like?
A: Introduction: When we develop a business case, we are ultimately driving a representation of ROE.…
Q: Parentheses can be used where the if statement contains more than two conditions. Select one:
A: SUMMARYQ-AAnswer : True Q-BAnswer : dSCHEDULE 1: a program that provides access only to children…
Q: Write a Java program to take the marks of students from roll numbers 0 to 4 and store them in an…
A: Java Code: import java.util.*;public class Main {public static void main(String[] args) {int[] marks…
Step by step
Solved in 2 steps with 3 images
- Use C++ programming language A customer in a store is purchasing five items. The prices of the five items are:Price of item 1 = $15.95Price of item 2 = $24.95Price of item 3 = $6.95Price of item 4 = $12.95Price of item 5 = $3.95Write a program that holds the prices of the five items in five variables. Display each item’sprice, the subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is7%.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; }Using c++ Write a program that computes and displays the charges for a patient’s hospital stay. First, the program should ask if the patient was admitted as an inpatient or an outpatient. If the patient was an inpatient, the following data should be entered: The number of days spent in the hospital The daily rate Charges for hospital services (lab tests, etc.) Hospital medication charges If the patient was an outpatient, the following data should be entered: Charges for hospital services (lab tests, etc.) Hospital medication charges Use a single, separate function to validate that no input is less than zero. If it is, it should be reentered before being returned. Once the required data has been input and validated, the program should use two overloaded functions to calculate the total charges. One of the functions should accept arguments for the inpatient data, while the other function accepts arguments for outpatient data. Both functions should return the total charges
- Need help coding in Java Morgan’s Department Store distributes bonuses to its salespeople after the holiday rush. Table 9-6 shows the bonuses, which are based on full weeks worked during the season and the number of positive online customer reviews. Write a program that allows a user to continuously enter values for the number of weeks worked and the number of positive reviews received and displays the appropriate bonus until the user enter a sentinel value: 99.using c++ Write a program that computes and displays the charges for a patient's hospital stay. First, the program should ask if the patient was admitted as an in-patient or an out-patient. If the patient was an in-patient, the following data should be entered: The number of days spent in the hospital The daily rate Hospital medication charges Charges for hospital services (lab test, etc.) The program should ask for the following data if the patient was an out-patient: Charges for the hospital services (lab test, etc.) Hospital medication charges The program should use two functions to calculate the total charges. One of the functions should accept arguments for the in-patient data, while the other function accepts arguments for out-patient information. Both functions should return the total charges.QUESTION 8 Kebabo Internet Services offers customers with 600 weekday minutes for a flat rate of RM39.99. Night (8.00 P.M. to 7.00 A.M.) and weekend (Saturday to Sunday) minutes are free, but additional weekday minutes cost RMO.20 each. There are Service taxes (SST) of 6% on all charges. Write a program that prompts the user to enter the number of weekday minutes, night minutes, and weekend minutes used, and calculates the monthly bill and average cost of a minute before taxes. The program should display with labels all the input data, the pre-tax (amount before tax) bill and average minute cost, the SST cost and finally the total bill. Store all amount values as whole cents (rounding the taxes and average minute cost ie: RMS.54 and 253 minutes).
- &-6.Meadowdale Dairy Farm sells organic brown eggs to local customers. It charges $3.25 for a dozen eggs, or 45 cents for individual eggs that are not part of a dozen. Write a program that prompts a user for the number of eggs in the order and then display the amount owed with a full explanation using the following wording: You ordered 27 eggs. That's 2 dozen at $3.25 per dozen and 3 loose eggs at 45 cents each for a total of $7.85. Grading Write your Java code in the area on the right. Use the Run button to compile and run the code. Clicking the Run Checks button will run pre-configured tests against your code to calculate a grade. Once you are happy with your results, click the Submit button to record your score. Eggs.java + 1 import java.util.Scanner; 2 class Eggs { 3 4 5 6} public static void main(String[] args) { // Write your code here } > Terminal sandbox $ + Q Search this course ?code.In C++ language, create a program that gets quarterly sales from a user, and calculates the total of all four quarters as well as the average, lowest, and highest quarters. Console Example that should be used/followed when executed The Quarterly Sales program Enter sales for Q1: 12312.57 Enter sales for Q2: 15293.21 Enter sales for Q3: 14920.95 Enter sales for Q4: 23432.21 Total: 65958.94 Average Quarter: 16489.74 Lowest Quarter: 12312.57 Highest Quarter: 23432.21 Specifications: Create the pseudocode needed to implement the solution above. Convert your pseudocode to C++ code including the following specifications: Round the average quarter to a maximum of 2 decimal digits. Use a vector to store the sales for each quarter. Use STL algorithms to process the data for the quarters. Please make sure the average is ROUNDED 2 places to get the output 16489.74 instead of 16489.734. A software company sells game cartridges for $99. Quantity discounts are given according to the following: 10 - 19 20% discount 20 49 O 30% discount 50 – 99 O 40% discount 100 + O 50% discount Write a program that asks the user how many games they purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount is applied. Don't forget to add HST. 5. Earlier we wrote a BMI calculator. Enhance the program so that it displays a message indicating whether the person has optimal weight (BMI between 18.5 and 24.9), is underweight (BMI is less than 18.5), is overweight (BMI between 25 and 29.9), or is obese (BMI 30 or higher).
- Write a program that asks the user to enter the monthly costs for the following expensesincurred from operating his or her automobile: loan payment, insurance, gas, oil, tires, and maintenance. The program should then display the total monthly cost of these expenses,and the total annual cost of these expenses.In Python Text-based adventure game: Pretend you are creating a text-based adventure game. At different points in the game, you want the user to select to fight, run, or hide from certain enemies. The selection variable must be sent as an argument into the choice() function. The user should enter 1 to fight, 2 to run, or 3 to hide in the main(). The choice() function should print one of the three options. Add an if statement in the choice() function to make the correct selection.Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8.