Write a java program that calculates a customers' electric bill. The program should ask the user to enter the number of kilowatt hours (kWh) used during a month billing period. Knowing that the Electricity costs 7.56 cents per kWh; in addition to that 8% tax should be added to this bill price. The program should calculate the original bill price in S, the tax amount and the final bill price.
Q: What are the applications of Subneting?
A: According to the question the subnet allows to the community to carry out speedy and makes the…
Q: Where may computer science and other study disciplines intersect? What are their steps?
A: Artificial intelligence is one area where there are chances to draw comparisons between computer…
Q: Question 11 (adres) Listen What is the maximum total number of swaps that will occur when sorting an…
A: Introduction The maximum total number of swaps that will occur when sorting an array with n elements…
Q: Microcomputers changed software distribution. Who caused this change?
A: Given: The personal computer revolution is another name for the microcomputer revolution. What…
Q: What do you do if two computers on your local network have the same MAC address? That's a brilliant…
A: In this question, it is asked about the consequences of having the same MAC address on more than one…
Q: Explain Network services
A: Humans are able to work more productively and explore the unimaginable thanks to computer systems…
Q: various symbols used for drawing flowchart. How is flowchart helpful in writing program? (b) Discuss
A: The answer for the above question is given in the following steps for your reference.
Q: stion. a program print screen of computer the counter from 1.7 to 14.7 increment by 0.7 using for…
A: Answer:
Q: 1. Perform the following subtraction using 10's complement on 532 - 794.
A: Ans : A 10's complement can also be used to subtract decimal numbers. In order to calculate the 10's…
Q: Give examples of where information systems are being used and why they are important in various…
A: Explanation: For a corporation to be successful, handling organisational and financial data requires…
Q: MCQ26: Which of the following is a software process model? a. b. Glassboxing Timeboxing
A: A software process model is a specified definition of a software process which is presented from a…
Q: What is the most important difference between generic software product development and custom…
A: Generic software product is a software which is designed for general public use. It is also called…
Q: Consider an unsorted array of n elements. Recall that the Heapsort Algorithm consists of two parts:…
A:
Q: McQ 19. At present, the LAN used basically adopts star topology. a. Right b. Wrong 20. TCP/IP…
A:
Q: Make this C language code into modular code (functions) #include #include main() { char choice; int…
A: CODE:
Q: 3- Evaluate the following expressions if y=6: a) Z= 5 *y+ 3*y*( 10*y + 1/2); b) Z= 7* y % 2 + 2*…
A: a) z = 5*6 + 3*6(10*y + 1/2) (first resolve the brackets and than go with following operation based…
Q: Question: Write a program in C++ language to print on the screen of computer the counter from 1.7 to…
A: CODE:
Q: Explain peer-peer networking. Write its advantages and disadvantages.
A: An interconnection between two more computing devices that can exchange and share data and resources…
Q: One of the best security practices when using Linux is to disable direct root login via SSH. True…
A: Given : linux is family of open source operating system. There are commands designated to perform a…
Q: Teque You have probably heard about the deque (double-ended queue) data structure, which allows for…
A:
Q: Exercises: Write a VB6.0 program to find the sum of first 10 numbers (1, 2,3, to 10).
A: CODE:
Q: Write a program in Python that serves as a password checker. The string password that Python should…
A: ANSWER:
Q: 3.14 LAB: Comparing doubles Write a program that is given two doubles for comparison and a third…
A: C++ Many people believe that C++, an object-oriented programming (OOP) language, is the finest…
Q: Is today's technology being used to its full potential in the field of effective communication?
A: Effective communication: The process of communicating ideas, views, information, and facts in order…
Q: PROBLEM 6 An investment firm has $1 million to invest in stocks, bonds, certificates of deposit, and…
A: b) Solution of the model using LINDO is as follows
Q: If the system fails repeatedly during recovery, what is the maximum number of log records that can…
A: In the analysis phase, initially it updates begin_checkpoint log record which had been searched…
Q: Which of these is associated with a private network adapter? O a. Two network adapters. O b. Server…
A: The Private Network to Network interface is the link-state routing protocol used in asynchronous…
Q: There are two sorts of Internet services that may be accessed by using Internet apps. There are a…
A: The following is a list of some of the most popular internet services: Communication Services…
Q: What are some symptoms that a laptop's OS has been corrupted?
A: Hacking also known as cyber crimes is a problem typical for a personal computer's operating system,…
Q: What is the time complexity of the following program void fun(int n) { int i = while(i0) i = = n; j…
A: Answer : The complexity of the given algorithm is n^2.
Q: Solve the recurrence relations. a. Compute --2(2k + 1) k b. Compute 1+1
A:
Q: PROBLEM 4 The Pee Tool Shop has four heavy presses it uses to stamp out prefabricated metal covers…
A: The answer is
Q: Is access to the internet helpful for those who have impairments, whether those impairments be…
A: Here is the solution:
Q: For the following CLSM subnetting problems, submit: a. bits for subnet b. bits for host c. subnet…
A: Dear Student, In 225.10.20.0 the 4th subset is 0 which in binary means 00000000 all the 8 bits are 0…
Q: Write a VB6.0 program to find the sum of first 10 numbers (1, 2,3, to 10).
A: Algorithm: Step 1: Write the main() Step 2: Define the required variable sum Step 3: Using for loop…
Q: Examine some of the reasons why individuals don't take the time to secure their systems. You should…
A: Here is the solution:
Q: Provide an overview of the many diverse data-hiding strategies that exist, each of which presents…
A: Given: An organisation that upholds the law is known as a law enforcement agency (LEA). A municipal…
Q: LAB ACTIVITY 3.22.1: LAB: The UCSB surroundings tour guide! 1 def get_destination (miles): 2 3* 4 5…
A: Writing a code in python using function by specifying all the conditions of the question in…
Q: Is this list inclusive of systems that have been categorised in several ways?
A: A system is a series of rules, an arrangement of items, or a group of interrelated things that…
Q: Q3. Write a Java program to implement the concept of run time polymorphism through method overriding…
A: Code Music.java// class representing musicpublic class Music { // member to hold the title…
Q: 23 Ⓡ Your company has been selected to construct Aquarine Garden Condominium, a new high-end…
A: The question has been answered in step2
Q: Write a program that is given two doubles for comparison and a third double that is a differen three…
A: C++ program:#include <iostream>#include <math.h>using namespace std; int main(){…
Q: Exercises: Write a VB6.0 program to find the sum of first 10 numbers (1,2,3, to 10).
A: To start with the code, there must be a variable initialized with 0 and that will keep on adding all…
Q: Explain peer-peer networking. Write its advantages and disadvantages.
A: Networking is the exchange of information and ideas among people with a common profession or special…
Q: The Darby Company manufactures and distributes meters used to measure electric power consumption.…
A: As this is required in excel, i ll be pasting the screenshot from excel sheet and explaining the…
Q: Talk about the importance of database backup and recovery procedures and what they do. Then, go over…
A: The significance of database data backup and methods have been suggested, as well as their…
Q: What do you mean by software? Write the difference between application software and system software.…
A: Software is programs and other routines for the computer system to make it run. The examples of the…
Q: Give example of String Constant?
A: It is asking for examples of string constant in programming.
Q: Assume for a moment that you are a developer of software and that you have created a system that…
A: Web administration on which we centering is should be free at it's beginning stage and paid for…
Q: c++ problem Write a main function that does the following. 1. Store the words Computer Science into…
A: The c++ code for storing Computer science and to remove the string Computer is: #include…
Step by step
Solved in 3 steps with 1 images
- Write a JAVA program that reads in the name and salary of an employee. Here the salary will denote an hourly wage, such as $9.25. Then ask how many hours the employee worked in the past week. Be sure to accept fractional hours. Compute the pay. Any overtime work (over 40 hours per week) is paid 150 percent of the regular wages. Print employee name and paycheck amount.Write a Java program that asks the user to input the jackets quality in any letter case (HQL for high quality , LQL for low quality ) and their prices in factory, until the user enter QUIT in any case letter to stop. your program should count the number og HQL and LQL jackets, as well as the HQL price of jackets, then print the result on the screen. your program should ignore any unknown jacket quality.Write a Java program that asks a user to enter his/her age. If the user's age is in the range of [18, 150] (18 ≤ age ≤ 150), program prints “Old enough!”, when the given age is smaller than the given range it must print “Too young”, and otherwise prints "Incorrect age."
- Write a java program to calculate the Gross, Tax, Net for 10 employees. Assuming: The input is First Name, Middle Initial, Last Name, Id number, Hours worked, Rate per Hour. constant state tax percentage 7%, Fed tax percentage 15% hours worked must be between 0 and 60 hours Rate per hour must be between $15.00 and $35.00 Gross calculations: If hours worked are 0 to 40 (Gross= Hours worked * Rate per Hour) If hours greater than 40 (Gross= 40 * Rate per Hour + ( Hours worked - 40 )* Rate per Hour hours * 1.5)) State Tax = Gross * State Tax percentage Fed Tax = Gross * Fed Tax percentage Net = Gross - (State Tax + Fed Tax) Output: Display: MUST BE FORMATTED and as a table Last Name First Name MI Id# Rate Per Hour Hours Worked State Tax Fed tax Gross Net Smith mike x 123 $10.00 40 $28.00 $60.00 $400,00 $312.00 : Directions: 1) submit…Write a Java program that lets the user enter the monthly interest rate, number of years, and loan amount, and computes monthly payment and total payment and print both results each on a separate line. The total payment = monthlyPayment * 12 * numberOfYears monthy payment = (loan amount)*(monthy interest rate)/(1 - (1/(1+monthly interest rate)^(number of years * 12)))Write a JAVA program that asks the user to input: The number if gallons of gas in the car tank The fuel efficiency in miles per gallon The price of gas per gallon Then (a) print the cost per 100 miles and (b) print how far the car can go with the gas in the tank, (c) Assuming the gas tank capacity is 20 gallons, what will be the cost of adding gas to the existing amount to fill the tank
- Write a java program that can suggest an activity based on the temperature. If the temperature is between 20 to 40 degrees Fahrenheit, suggest the user go skiing; if the temperature is between 41 to 60 degrees Fahrenheit, suggest the user go hiking; if the temperature is in the range of 61 to 80, suggest swimming. For all the temperatures out of these ranges (too cold or too hot), then suggest staying inside.Write a java program that asks the user to enter the number of laps that they have run around a racetrack. Then, prompt the user to enter the time of each lap (in minutes). The program should calculate and display the fastest lap and the average lap time of all laps.Write a Java program that asks a user to enter a time of the day (integer number from 0 to 24). If time is between 0 and 5, the program prints "Good night!". If time is less than 10:00, then print “Good morning!”. If time is less than 20:00, then print “Good day!”, otherwise it prints “Good evening!”.
- Write a program In java that asks for the user's age. If the age is under 13, output, "You are a child". if age is greater than 13 and less than 19, output, "You are a teen". if age is greater than 19 and less than 65, output, "You are an adult". Over 65, "You are a senior citizen".Write a java program to calculate the electricity bill for a customer , The program should get the customer's information such as customer name , previous reading and current reading as input .After that program should calculate the amount according to number of units consumed by the customer and print a bill .The sample bill and rate per unit are given below. For example a customer consumes 300 units; First hundred units would be charged at the rate of 15 ,and remaining at 30 respectively as per rate given below. Unit range Rate per unit 1-100 15.0 101-300 30.0 301-500 45.0Write a java program that converts degrees from Fahrenheit to Celsius, using the formula DegreesC = 5 (DegreesF − 32) / 9. Prompt the user to enter a temperature in degrees Fahrenheit as a whole number without a fractional part. Then have the program display the equivalent Celsius temperature, including the fractional part to at least one decimal point. A possible dialogue with the user might be: Enter a temperature in degrees Fahrenheit: 72 72 degrees Fahrenheit is 22.2 degrees Celsius.