Design the logic, using flowchart or pseudocode, for a program that calculates the projected cost of a remodeling project. Assume that the labor cost is $30 per hour. Design a program that prompts the user for a number hours projected for the job and the wholesale cost of materials. The program computes and displays the cost of the job which is the number of hours times the hourly rate plus the 120% of the wholesale cost of materials. The program accepts data continuously until 0 is entered for the number of hours.
Q: You have to create a memory size calculator in the C language that inputs the number of elements and...
A: String Size – 1 bytes Integer – 2 bytes Float – 4 bytes
Q: A(n) _________________ is a classification of an element based on its status or use. A) pseudo-clas...
A: The correct answer will be Option(A) Pseudo-class Explanation:- Pseudo-class is used in a classifica...
Q: 10) Which of the following is an advantage of integrating a marketplace with a platform? Mark ALL th...
A: Benefits of eCommerce marketplace integration: 1. To Beat the Competition: In this ever-growing reta...
Q: Question (5) Write an algorithm for each following problem (Answer Ine only): 1. To tind sum of seri...
A: Explanation Part a) I created a for loop to generate numbers from 1 to N, incremented by 2 to get...
Q: 1. Checked state options are? (Selecting wrong or less value = Checked Indeterminate None Unchecked
A: There are no Values that will cause the checkbox to be unrestrained. In the event that the checked t...
Q: 21. what is at put f this logic gati? A F=?
A: Here in this question we have given a a circuit and we have asked to find the output of this .
Q: Recall the problem of finding the median of an array of an unsorted list. How fast can one complete ...
A: Solution: Recurrence relation: Let the problem be: finding the Kth largest element in an unsorte...
Q: Create a program that is in c++ language that gets quarterly sales from a user, and calculates the t...
A: Pseudo code: START Read sales for first quarter to q1 Read sales for second quarter to q2 Read sales...
Q: Consider the following program: Fib[n] if(n==0) then return 0 else if(n==1) then return else retiurn...
A: Below the consider the following program Fib[n]if(n==0) then return 0else if(n==1) then return 1el...
Q: 1) Log in our database server and enter to SuperSale database. And do the following: a. Provide an S...
A: To Find: Write a SQL query to fetch the data from the database based on given instruction Answer: Pl...
Q: what language is defined by this push down automata? с, а: са c, a; ca b.c;A q2 93 b, a;A 94 q5 À, a...
A: We are given a PDA and we are going to find out the language represented by it. I will first tell w...
Q: 4. Option controls are choices we put on our program. True False
A: To state true or false. Statement: "Option controls are choices we put on our program"
Q: 4. What will print when the main method below is executed? public static void main (String [] args) ...
A: Hello student , hope you are doing good . The answer to both of the question is attached below alo...
Q: What are the three pieces that make up a floating-point number and how do they work together?
A: Floating-point number: A floating-point number is a real number with a fractional component. There ...
Q: Write a program that prompts the user to input three (3) integers: MM, DD, and YYYY. For example, 07...
A: Start Assign number Of Days to the cooresponding months Accept number of months, days and years Che...
Q: Explain the hardware of the computer, keeping your description to the major components. Include in y...
A: Computer hardware is any physical device used in or with your machine.
Q: sumes a greate
A: Storage Spaces It is a feature of Windows and Windows Server that can assist protect your data in t...
Q: Describe In a computer network, penetration testing is done.
A: Penetration Testing: Penetration test is nothing but a pen test that helps in cyber-attack for the v...
Q: what is the meaning of g++: error: -E or -x required when input is from standard input
A: Your answer is given below in detail.
Q: If s1 and s2 are pointers of the same type, then s2=s1 is a valid statement. True or false?
A: Pointers point to a memory address. They do not contain value but address to the memory location whe...
Q: Consider the case of a many-to-one connection R between the entity sets A and B (see Figure 1). Cons...
A: Introduction: SQL constraints: Constraints are restrictions put on databases to eliminate data redun...
Q: Write a C++ program that will allow the u First Name, Last name, Middle Initial, student. The follow...
A: here in this question we have asked to write a program which take name and marks /grade from user an...
Q: Why and when should implicit heap-dynamic variables be used; when, how, and why should they not be u...
A: Answer the above questions are as follows:
Q: Please construct the truth table of the following, thank you. a) [p-q] A [-p-q] b) [-p--q]- [p-q] c)...
A: Conjunction: It is denoted by (∧). For any two propositions p and q, (p∧q) is true when both p and q...
Q: Consider the following scenarios and provide an example of a relational-algebra expression and a que...
A: INTRODUCTION: Relational Algebra expression: It is a query language that accepts Relationships as in...
Q: 3. How do I truncate the strings passed to the function in JAVA? The String position needs to be 5 c...
A: Complete the given JAVA function truncate the strings passed as parameters to the functions. The Str...
Q: Write a C++ program that will allow the user to input the First Name, Last name, Middle Initial, and...
A: 1. Declaring fname,lname,minitial,grade 2. Asking user to enter the first name,last name,middle ini...
Q: What is a two-way communication in which each party take turns transmitting?
A: Simplex: Only one way communication. Send data one point to other where sender send the data and rec...
Q: PROBLEM: Write a program that prompts the user to input three (3) integers: MM, DD, and YYYY. For ex...
A: #include <iostream>using namespace std;// to check if year is leap year or notbool isLeap(int ...
Q: The reason of diskthrashing is not known. What measures can you take to mitigate its consequences?
A: Introduction: A process thrashing is described as a condition in which a process spends most of its ...
Q: You have to create a memory size calculator in the C language that inputs the number of elements and...
A: The question is to write C code for the given problem.
Q: Assume that LA is not empty of n size. Write a C program that will define the task of the function p...
A: I have provided C CODE along with CODE SCREENSHOT and also provided TWO OUTPUT SCREENSHOT...
Q: In this c++ program please explain everyline of the code and explain the output. Thank you Source C...
A: Linked list: A linked list consists of nodes where each node contains a data field and a reference(l...
Q: Convert each of the following decimal values to 8-bit two’s complement binary: i) -3810 ii) 551...
A: Introduction Convert each of the following decimal values to 8-bit two’s complement binary: i) -3...
Q: There is a distinction between grid computing and cloud computing.
A: Introduction : Grid Computing is a kind of computing that uses a distributed network of computers. A...
Q: ompany SuperCrypto has invented a new superfast PKE algorithm whose security is based on the computa...
A: Lets see the solution.
Q: Do not copy from other websites Q. You are in charge managing the performance of your organisation’...
A: This report will acquaint the peruser with the idea of execution estimation and matrix as applied to...
Q: Write a program that prompts the user to input any digit then swap the position of the first and the...
A: Include the header file. Inside the main function take the input of the element. Take the first a...
Q: Mobile application developement Q1 Evaluate the areas where mobile applications are applied and u...
A: Mobile application development
Q: Consider the four networks 200.96.86.0, 200.96.87.0, 200.96.88.0 and 200.96.89.0. What are the super...
A: Correct Option is C
Q: USE PYTHON PROGRAMMING!! TO MAKE IT EASIER, THERE'S A CODE TEMPLATE YOU CAN USE!! class MinHeap...
A: PROGRAM INTRODUCTION: Declare the required variables outside all the methods that are going to be u...
Q: Which of the following is a significant advantage of Linked Lists over Dynamic Arrays? a. Linked ...
A: According to the question the array from which of the many elements are removed and also have to res...
Q: Explain why compilers utilise parsing methods that are only effective on a subset of all grammars in...
A: Introduction: The parser is the compiler step that accepts a token string as input and translates it...
Q: Can you tell the difference between system software and embedded system software? How about a few in...
A: System software is used to operate, control, and enhance a computer system's processing capabilities...
Q: To execute a method, you invoke or call it from another method; the callin method call, which invoke...
A: To execute a method, you invoke or call it from another method; the calling method makes amethod cal...
Q: 2) Create in PL/SQL a stored procedure called 'Del Details' to delete the record of orderedProduct t...
A: 2. The SQL query is given below: CREATE PROCEDURE [dbo].[Del Details] -- Add the parameters for the ...
Q: Will there be less need for in-house systems analysts as more organisations outsource system develop...
A: The need for in-house systems analysts While you outsource, you are leveraging the services of outsi...
Q: Write a program that prompts the user to input three (3) integers: MM, DD, and YYYY. For example, 07...
A: For validations, check if date is positive, month is positive and year is non negative Also day must...
Q: 1.When dealing with two’s complement notation, explain why you must specify the number of bits used ...
A: To explain about 2's complement.
Q: Write a C++ program that prompts the user to input three (3) integers: MM, DD, and YYYY. For example...
A: PROGRAM EXPLANATION: Include the header file. Define a function to find the leap year. The logic fo...
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
- (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.)Design a flowchart and pseudocode for the following: A program that accepts the following data about one customer's messages: area code (three digits), phone number (seven digits), and the number of text messages sent. Display all the data, including the month-end bill both before and after taxes are added. A program that continuously accepts data about text messages until a sentinel value is entered, and displays all the details.
- Written in C# Language Please! A fixed percentage of water is taken from a well each day. Request values for W and P where: ▪ W is the amount (in litres) of water in the well at the start of the first day ▪ P is the percentage of the water in the well taken out each day Write a program to print the number of the day, the amount taken for that day and the amount remaining at the end of the day. The output should be terminated when 30 days have been printed or the amount of water remaining is less than 100 litres, whichever comes first. For example, if W = 1000 and P = 10, the output should start as follows: Day Amount Taken Amount Remaining 1 100 900 2 90 810 3 81 729 Note: The amount taken and amount remaining should be displayed to 2 decimal places.algorithm, pseudocode and flowchart of this question. Sarah Cruz has been working for COMPUTER Z Company for four years. Last year, Sarah received a 5% raise, which brought her current monthly pay to 25,000.00 pesos. Sarah is scheduled to receive a 4% raise next month. She wants to write a program that will display, on the computer screen, the amount of her new monthly pay.Write the pseudocode for the following program:A company sales manager requires a sales analysis of the two products on offer atthe end of the month.The company employs five salespeople.Input values for each salesperson are name, number, gender, and total units sold forthe month, for each product (one and two).The salary of each salesperson is strictly commission-based. Each salespersonearns a basic commission calculated as 12.5% of his/her total sales.If a salesperson sells more than R1 000 of product two, he or she receives anadditional 10% commission on product two. If not, commission for sales of producttwo is reduced to 5% (i.e. instead of receiving the basic 12.5% commission for salesof product two, a penalty is paid).If a saleswoman sells more than R500 of product one, she receives a bonus of R100.An added bonus of R750 is given to each salesperson whose total commission ismore than R6 000.Each employee receives a printed pay-slip showing all the employee details, grosspay, all…
- Write the pseudocode for the following program:A company sales manager requires a sales analysis of the two products on offer atthe end of the month.The company employs five salespeople.Input values for each salesperson are name, number, gender, and total units sold forthe month, for each product (one and two).The salary of each salesperson is strictly commission-based. Each salespersonearns a basic commission calculated as 12.5% of his/her total sales.If a salesperson sells more than R1 000 of product two, he or she receives anadditional 10% commission on product two. If not, commission for sales of producttwo is reduced to 5% (i.e. instead of receiving the basic 12.5% commission for salesof product two, a penalty is paid).If a saleswoman sells more than R500 of product one, she receives a bonus of R100.An added bonus of R750 is given to each salesperson whose total commission ismore than R6 000.Each employee receives a printed pay-slip showing all the employee details, grosspay, all…Design the logic, using flowchart or pseudocode, for a program that calculates the projected cost of a remodeling project. Assume that the labor cost is $30 per hour. Design a program that prompts the user for a number hours projected for the job and the wholesale cost of materials. The program computes and displays the cost of the job which is the number of hours times the hourly rate plus the 120% of the wholesale cost of materials. The program accepts data continuously until 0 is entered for the number of hours. Use appropriate modules, including one that displays End of program when the program is finished.C PROGRAMWrite a c program FUNCTION that displays the corresponding day of the week given a valid date. For each valid date input the user enters, the program should immediately display the corresponding day of the week. The program ends only when an invalid input is entered by the user.Input: The expected date input will be in the format day month year. The accepted possible values of day will be from the range 1 to 31. The accepted possible values of month will be from the range 1 to 12. As for the possible values of year, the range is already specified. A valid date input is a correct calendar date. Output: The output day of the week will be the correct one of the days of the week: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday. The program should follow this input-output interface format (example):(Input) Enter date: 30 12 2021 (dd mm yy format)(Output) Day: Thursday Take note:Your solution will be using the following algorithms concerning dates: ● An algorithm…
- C PROGRAMWrite a c program that displays the corresponding day of the week given a valid date. For each valid date input the user enters, the program should immediately display the corresponding day of the week. The program ends only when an invalid input is entered by the user.Input: The expected date input will be in the format day month year. The accepted possible values of day will be from the range 1 to 31. The accepted possible values of month will be from the range 1 to 12. As for the possible values of year, the range is already specified. A valid date input is a correct calendar date. Output: The output day of the week will be the correct one of the days of the week: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday. The program should follow this input-output interface format (example):(Input) Enter date: 30 12 2021 (dd mm yy format)(Output) Day: Thursday Take note:Your solution will be using the following algorithms concerning dates: ● An algorithm can be…C PROGRAMWrite a c program that displays the corresponding day of the week given a valid date. For each valid date input the user enters, the program should immediately display the corresponding day of the week. The program ends only when an invalid input is entered by the user.Input: The expected date input will be in the format day month year. The accepted possible values of day will be from the range 1 to 31. The accepted possible values of month will be from the range 1 to 12. As for the possible values of year, the range is already specified. A valid date input is a correct calendar date. Output: The output day of the week will be the correct one of the days of the week: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday. The program should follow this input-output interface format:Enter date: day_month_year_inputDay: day_of_the_week_output Your solution will be using the following algorithms concerning dates:● An algorithm can be used to determine if a given year…This function determines the winner of the match based on the score totals for all the rounds. The input to this function is the computer's final score and the player's final score. This function examines the scores and displays the winner as follows: •Player score is higher than computer score, message is "Player wins!" •Computer score is higher than player score, message is "Computer wins!"• Player score the same as computer score, message is "No winner, it's a draw!" The function takes two integer parameters, evaluates them and outputs an appropriate message. This is a void function. PYTHON