how I should Write a program in c++ that prompts the user to input a number. The program should then output the number and a message saying whether the number is positive, negative, or zero. the program should contain comments explaining your work.
Q: for i in range(left, right): if values[i] > values[i + 1]: values[i], values[i +…
A: The bubble_down() function looks fine, and it should swap items that are out of order in the given…
Q: In what ways does a firewall provide a necessary function? When it comes to packet filtering, what…
A: In this answer, we will explore the ways in which a firewall provides a necessary function and best…
Q: How many bytes of object code are used by the entire program? (answer in decimal)
A: Answer is given below with explanation
Q: Many aspects of DNS inquiries, including iterated and non-iterated GET requests, authoritative and…
A: Domain Name Server (DNS): Domain Name Servers are the devices that map the hostname to the IP…
Q: In the context of designing software delivered as a service, how crucial is it to have an integrated…
A: Here is your solution -
Q: In the context of operating systems, what distinguishes real-time operating systems from…
A: Real-time operating systems (RTOS) and non-real-time operating systems (NRTOS) are two categories of…
Q: Intranets and extranets have many uses
A: Intranets and extranets are computer networks that are designed to serve different purposes within…
Q: DNS as a distributed database: advantages?
A: DNS: Domain Name System, or DNS for short, is a hierarchy decentralized naming system for devices…
Q: u can have a partner for this lab, but submit individually. You can read the lectures to answer the…
A: SOLUTION- I have solved this problem in Java code with comments and screenshot for easy…
Q: What different parts make up an application that runs on the web?
A: The answer is given below step.
Q: Provide at least three justifications for why data encryption is essential.
A: Dear learner, hope you are doing well, I will try my best to answer this question. Thank You!!
Q: Determine finite-state automata Start the languages recognized by the ff. $0 0 1 $1 0
A: Note - As per the Guidelines for solving Multiple Questions, We can solve only First part of the…
Q: Consider the following relational schema and answer the following questions. Employee (Employee_Id,…
A: - The schema provided is about employees with their data like their name, salary and multiple ids.
Q: A direct-mapped cache consists of 16 blocks. A byte-addressable main memory contains 4K blocks of 16…
A: In a direct-mapped cache, each block in main memory is mapped to a specific block in the cache. The…
Q: DNS records by kind. Explain each with instances and rationales. Can a web and internal mail server…
A: DNS (Domain Name System) records can be broadly categorized into the following types: A (Address)…
Q: Show the web client how to construct native authentication and authorization services whenever the…
A: Networking heavily uses a wide variety of protocols, which are often implemented on many different…
Q: Talk about the current IPV4 landscape, the developing problems it confronts, and how IPV6 addresses…
A: The internet has become an integral part of our daily lives, and as the number of devices connected…
Q: 12 void test_array() { 13 14 15 16 17 18 19 Embedded code: 12 13 A B + v B 10 return 0; 11 14 15 16…
A: This is related to array initialization and declaration.
Q: Please written by computer source 1. For this project, you need to create the company database and…
A: Step 1: Create the Company Database Open the Oracle SQL PLUS environment and create a new database…
Q: Is it possible to describe the spiral model in only a half page?
A: The spiral model is a software development process model that combines the iterative nature of…
Q: How many logical layers exist in a client-server application with distributed nodes?
A: Client-server application: Client-server denotes a relationship between cooperating programs in an…
Q: Given that you have a firewall between the Internet (represented by a cloud) and your network…
A: Introduction:- A network structure is a process used by managers to control and coordinate both…
Q: How does a compiler differ from an interpreter in computer science, and what are the benefits and…
A: Here is your solution -
Q: There is a possibility that governance issues could arise as a result of the switch from on-premise…
A: A kind of cloud computing called infrastructure as a service (IaaS) offers virtualized computer…
Q: It should follow an essay format, which means you must add an introduction, analysis and…
A: The Okun's Law is an empirical relationship that highlights the trade-off between unemployment and…
Q: In the context of applications for computers, how exactly does the technique known as "data mining"…
A: Data mining is a technique of extracting useful and meaningful patterns or trends from a large…
Q: Random Nickname Generator: In this project, you'll prompt a user for their first and last names and…
A: Before starting programs first we will- import the libraries for program Initialize variables In…
Q: Describe a primary key, candidate key, secondary key, foreign key, and a combination key. Provide an…
A: Database management systems rely on the use of keys to maintain data integrity, organize records,…
Q: A computer programmer is defined as.
A: A computer programmer is an individual who specializes in writing, testing, and maintaining the code…
Q: What precisely is cleaning in RAID systems, and why is it so crucial?
A: In this question we have to understand What precisely is cleaning in RAID systems, and why is it so…
Q: There are several steps involved in the process of developing a website from start to finish. It is…
A: Yes, that's correct. The process of developing a website involves several steps or stages, and each…
Q: How can a scalable multiprocessor that uses shared memory avoid having an issue with coherence? What…
A: A scalable multiprocessor that uses shared memory can avoid coherence issues by implementing a cache…
Q: Please expound on the following assertion about Apache Spark: The modifications of RDDs are carried…
A: Given, Please expound on the following assertion about Apache Spark: The modifications of RDDs are…
Q: Let's pretend you're a software developer and a hospital wants to hire you to create a patient…
A: The answer is given below step.
Q: ns p please questio
A: The task is to write a Python program that reads a tab-separated values file containing student…
Q: Assume that the nodes of the singly linked lists are arranged in decreasing order of the exponents…
A: A polynomial is a mathematical statement made up of variables and coefficients that only requires…
Q: Please read the section character sequences to learn about representing a string as a…
A: The null character Answer: '\0' Explanation: In C++, a null character (\0) is a special character…
Q: Given the list of possible active attacks; os exploits, virus, trojan, syn scan, Ack Scan, and web…
A: The firewall is an essential component of a network security infrastructure that is designed to…
Q: In the process of designing models for software-intensive systems, what kinds of perspectives need…
A: To ensure that the system is designed to effectively meet its requirements and goals, the process of…
Q: Define a function named GetWordFrequency that takes a vector of strings and a search word as…
A: In this question we have to write a C++ code where we need to define a GetWordFrequency that takes a…
Q: Describe how the OS's many features work together to provide a secure platform for running user…
A: Operating system An operating system (OS) is a program responsible for managing all the other…
Q: I. Flow of control operators are used to alter the default sequential flow of control. They are…
A: In programming, flow of control operators play a crucial role in determining the sequence of…
Q: Are the capabilities of wide area networks significantly different from those of local area…
A: Yes, the capabilities of wide area networks (WANs) are significantly different from those of local…
Q: How did a software designed to operate on the web grow to consist of such a large number of…
A: There are several reasons why software created on the web has developed into a huge number of…
Q: Provide an explanation as to why the non-formal and conventional software development approaches…
A: Non-formal software development approaches and conventional software development approaches refer to…
Q: This summarises the three-sphere systems management model. Avoid textbook examples.
A: The three-sphere systems management model is a framework for understanding and managing complex…
Q: Given have a firewall between the Internet (represented by a cloud) and your network router. And…
A: Firewall is a device which act as a medium to monitor the incoming and outgoing network traffic. It…
Q: Is there a significant gap between the capabilities of local and wide area networks? If this is the…
A: In this question we have to understand Is there a significant gap between the capabilities of local…
Q: Is it better to use a cloud storage service or a regular client storage software, and why?
A: The advent of cloud technology has brought about significant changes in the way we store and access…
Q: Please provide us with an explanation of the foundations of successful data entry fields. It's…
A: Successful data entry fields are founded on several key principles that ensure accurate and…
how I should Write a
the program should contain comments explaining your work.
Step by step
Solved in 3 steps with 1 images
How can I make the C++
- Write a C++ program that helps calculate how long it would take a user to pay off a loan with compound interest. You should prompt the user for the principle amount, how much interest is being charged, and how much they are able to pay back each month. You should assume that all amounts are in dollars and cents, that interest is charged monthly, and that payments are also made monthly. The program should display a table with the following columns: the month number, the amount remaining on the loan, and the total amount already paid. For *each* row, you should: 1. *FIRST* subtract the payment from the amount remaining on the loan.2. *THEN* add interest based on this new total amount. You should continue to print out rows in the table until either the amount remaining is <= $0 or if 100 months have passed. Then, print out a summary showing the number of months that will elapse and how much total has been paid. If the table stops at 100 months, print out a message telling the user that…Create a C++ student enrollment system using classes and objects. The program should ask the student for their details (name, gender, address), choose from the list which course they want to take, display their tuition fee, and ask them if they want to apply for a scholarship (if yes, it displays scholarship choices, if no, the program ends). code can only include the basic input and output, the different if statements, switch statement, void function, loop, and of course, classes and objects. please include pseudocodes in every line with detailed explanation. also, please just screenshot the code so it'd be easier to read. thank you.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.
- 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 chargesGET THE C++ CODE 1. A student took four quizzes in a term and would like to compute their average. He also would like to know what will be the remarks. Follow the range of grades and its equivalent remarks, and then fill-up the table below: 100-95 - Excellent 94-90 – Very Satisfactory 89-85 - Satisfactory 84-80 - Fine 79-75 - Fair 74 and below – Poor Answer the following: What statement in the program that determines that the average is passing? What was the condition applied to satisfy the requirement? What have you observed in using if-else statement in this program? What have you observed in using nested if statement in this program?Write a C++ program that will allow the user to input the First Name, Last name, Middle Initial, and grade of a student. The following conditions must be observed: If the grade input is 96-100, the remark is “ you performed an excellent job! Keep it up !" а. If the grade input is 91-95, the remark is “ you performed a very satisfactory Job! Keep it up b. If the grade input is 86-90, the remark is “ you have satisfactory performance, you can improve some с. more. " d. If the grade input is 80-85, the remark is “ your performance is fair, try harder" If the grade input is 75-79, the remark is “ your performance needs Improvement, you can do it" е. If the grade input is below 75, the remark is we're sorry but you failed, we know you can do better f. next time"
- c++ You are working for a software firm that developped a word processor. A common error users often make is that they forget the caps locks on and print text like this: ”tHIS IS A SAMPLE of an error”, this usually happens at the beginning of a new sentence(i.e. right afer a dot or in a new line). Write a program to detect this error and fix it. The input will be a long string on keyboard.Write a C++ program that will allow the user to input the First Name, Last name, Middle Initial, and grade of a student. The following conditions must be observed: a. If the grade input is 96-100, the remark is “ you performed an excellent job! Keep it up !” b. If the grade input is 91-95, the remark is “ you performed a very satisfactory Job! Keep it up !” c. If the grade input is 86-90, the remark is “ you have satisfactory performance, you can improve some more. ” d. If the grade input is 80-85, the remark is “ your performance is fair, try harder” e. If the grade input is 75-79, the remark is “ your performance needs Improvement, you can do it” f. If the grade input is below 75, the remark is “ we’re sorry but you failed, we know you can do better next time” Test your program using the following TEST CASES: CASE 1: Input first name: Juan Input last name: Cruz Input middle Initial:…Write a C++ program that will allow the user to input the First Name, Last name, Middle Initial, and grade of a student. The following conditions must be observed: a. If the grade input is 96-100, the remark is “ you performed an excellent job! Keep it up !” b. If the grade input is 91-95, the remark is “ you performed a very satisfactory Job! Keep it up !” c. If the grade input is 86-90, the remark is “ you have satisfactory performance, you can improve some more. ” d. If the grade input is 80-85, the remark is “ your performance is fair, try harder” e. If the grade input is 75-79, the remark is “ your performance needs Improvement, you can do it” f. If the grade input is below 75, the remark is “ we’re sorry but you failed, we know you can do better next time”
- Simple C++ program, it's easy but I'm working on eight other things and I'm running out of time. To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN. In some cases, to make a telephone number meaningful, companies might use more than seven letters. For example, 225-5466 can be displayed as CALL HOME, which uses eight letters. Instructions Write a program that prompts the user to enter a telephone number expressed in letters and outputs the corresponding telephone number in digits. If the user enters more than seven letters, then process only the first seven letters. Also output the - (hyphen) after the third digit. Allow the user to use both uppercase and lowercase letters as well as spaces between words. Moreover, your program should process as many telephone numbers as the user wants. Use a dialpad for reference.…C++ Write a program that accepts an integer number and determines whether the number is "EVEN" or "ODD. If it is even, compute the square of the number and display the message “Even number”. If the number is odd, compute and print the cube of the number and also display the remark "Odd number" , else display a remark "The number entered is zero."In this question, you will write a complete C++ program that calculates the interest amount a customer makes each year over a specified number of years. Users are prompted for basic savings, the interest rate (in % per year), and the number of years for which the employee wants the program to calculate the yearly amount earned. For example, if the user has $100 in the saving account, and has a 5% interest rate then the 1st year the interest amount is $100 x 5% = $5 At the beginning of each year, ask the user whether he would like to save more money. If the answer is "yes", then ask the amount. For example, save $5,000 more into the saving account, then the total interest amount is ($100 + $5+ $5,000)*5% = $255.25 and so on. Assume you have a perfect user who enters positive numbers. You are required to use while loop, not other loops to solve this question. (Failing to do so will result in a grade of zero) Necessary comments are required. Here is a sample output screen to illustrate…