Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Write a program that computes the cost of painting and installing carpet in a
room. Assume that the room has one door, two windows, and one bookshelf. Your program must do the following:
a. Prompts the user to enter, in feet, the length, width, and height of a
room. Read the dimensions of the room.
b. Prompts the user to enter the widths and heights, in feet, of the door,
each window, and the bookshelf. Read these quantities.
c. Prompts the user to enter the cost, per square foot, of painting the
walls. Read these quantities.
d. Prompts the user to enter of cost, per square foot, of installing carpet.
Read these quantities.
. To make a profit, a local store marks up the prices of its items by a certain
percentage. Write a Java program that reads the original price of the item
sold, the percentage of the marked-up price, and the sales tax rate. The
program then outputs the original price of the item, the marked-up percentage of the item, the store’s selling price of the item, the sales tax rate,
the sales tax, and the final price of the item. (The final price of the item is
the selling price plus the sales tax.)
Write a program that prompts the user to input a decimal number and
outputs the number rounded to the nearest integer.
VIn order to discourage excess consumption, an electric company charges it's costumers a lower rate, namely $0.11, for each of the first 250 kilowatt hours, and higher rate of $0.17 for each additional kilowatt hour. In addition, 10% surtax is added to the final bill. Write the program to calculate electric bills given the number of kilowatt hours consumed as input. Use two function declarations: one to compute the amount due without the surtax and one to compute the total due with surtax.
Test if a date is a payday based on the day of the month (15th or the 30th). 3.3 Code Practice: Question 1

In a right triangle, the square of the length of one side is equal to the sum of the squares of the lengths of the other two sides. Write a program that prompts the user to enter the lengths of three sides of a triangle and then outputs a message indicating whether the triangle is a right triangle.

 

 

****Run program for a 5, 12,13 and again for 7, 9,20 (2 screenshots)


Concatenate the two strings into a long string and print the long string. The longer string must be concatenated in front of the shorter one.


Write a C program that bitwise displays the single-precision-floating-point value 3.14 to the screen.
A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Write an application that calculates and displays the parking charges for each customer who parked in the garage yesterday. You should enter the hours parked for each customer. The program should display the charge for the current customer and should calculate and display the running total of yesterday’s receipts. It should use the method calculateCharges to determine the charge for each customer.
) Write a function that counts the number of bounces a ball makes before it stops and rests on the
ground. Assume that with each bounce, it reaches up to 0.9 of its previous bounce. The ball is
considered at rest when it is at height less than 0.4 cm. Let the user input the initial height from the
LATEST TUTORIALS
APPROVED BY CLIENTS