Answer: yes, and it’s one of the best options if you whant to build your own pc
Explanation:
Ensure the file named Furniture.java is open.
The file includes variable declarations and output statements. Read them carefully before you proceed to the next step.
Design the logic and write the Java code that will use assignment statements to:
Calculate the profit (profit) as the retail price minus the wholesale price
Calculate the sale price (salePrice) as 25 percent deducted from the retail price
Calculate the sale profit (saleProfit) as the sale price minus the wholesale price.
Execute the program by clicking Run. Your output should be as follows:
Item Name: TV Stand
Retail Price: $325
Wholesale Price: $200
Profit: $125
Sale Price: $243.75
Sale Profit: $43.75
91011121314151617181920212223242526272829303132678345
double profit;
double saleProfit;
// Write your assignment statements here.
Logic:
profit=retailPrice-wholesalePrice
salePrice=retailPrice-(retailPrice*25)/100;
saleProfit=salePrice-wholesalePrice;
can someone write this how the code would be written i think i have it correct but i am getting and error when i run the code
Using the knowledge in computational language in JAVA it is possible to write a code that calculate the sale profit (saleProfit) as the sale price minus the wholesale price.
Writting the code:public class Furniture
{
public static void main(String args[])
{
String itemName = "TV Stand";
double retailPrice = 325.00;
double wholesalePrice = 200.00;
double salePrice;
double profit;
double saleProfit;
// Write your assignment statements here.
profit = retailPrice - wholesalePrice;
salePrice = retailPrice * (1 - 0.25);
saleProfit = salePrice - wholesalePrice;
System.out.println("Item Name: " + itemName);
System.out.println("Retail Price: $" + retailPrice);
System.out.println("Wholesale Price: $" + wholesalePrice);
System.out.println("Profit: $" + profit);
System.out.println("Sale Price: $" + salePrice);
System.out.println("Sale Profit: $" + saleProfit);
System.exit(0);
System.exit(0);
}
}
See mroe about JAVA at brainly.com/question/12975450
#SPJ1
Which of the following roles is responsible for
overseeing the data and operation of databases?
computer support specialist
data miner
database programmer
database administrator
Create and maintain databases that are appropriate for the needs of their organizations, as database managers or administrators. These IT specialists are in charge of maintaining, storing, protecting, and troubleshooting databases.
What is database management?
Data is stored, retrieved, and analyzed using software called database management systems (DBMS). Users can create, read, update, and delete data in databases using a DBMS, which acts as an interface between them and the databases.
A software program is used to administer databases, or database management systems. As an illustration, popular commercial databases like MySQL, Oracle, etc. are utilised in a variety of applications.
A DBMS provides an interface for carrying out a variety of tasks, including building databases, putting data in them, updating data, creating tables in the databases, and many other things.
It offers database security and safety. Additionally, it preserves data consistency when there are many users.
Hence to conclude dbms has the responsibilty of overseeing the data and operation of databases
To know more on dbms follow this link
https://brainly.com/question/24027204
#SPJ1
Answer:
D!
Explanation:
Which of the following options describes how relatively small units of data called packets are routed through a network based on the destination address contained within each packet?
The term that describes how relatively small units of data called packets are routed through a network based on the destination address contained within each packet is called "Packet Switching"
What is the importance of packet switching?Packet switching is used to maximize the use of available channel capacity in digital telecommunication networks, such as computer networks, as well as to reduce transmission latency (the time it takes for data to travel across the network) and boost communication resilience.
Packet switching is most frequent on data networks such as LANs, WANs, and the Internet. It is particularly suited to data transmission because it lets networks to swiftly adapt to changing conditions. If one of the network's routers dies, for example, packets can be automatically re-routed to avoid that device.
Learn more about Packet Switching:
https://brainly.com/question/27054556
#SPJ1
At a basic level, whose needs and preferences must first be understood to determine a product’s functionality, or practical use?
It is to be noted that at a basic level, the needs and preferences that must first be understood to determine a product’s functionality or practical use is that of the consumer.
Who is a consumer?A consumer is a person or group who wants to order or utilizes acquired items, products, or services primarily for personal, social, family, or home purposes and is not actively involved in entrepreneurial or company operations.
The term "functionality" relates to whether a design works and assists people in meeting their goals and requirements. Functionality varies but is present in everything from chairs and tables to books and online interfaces. When a design is extremely functional, it accomplishes its job and does it well.
Learn more about consumers:
https://brainly.com/question/380037
#SPJ1
Please solve this for me I need it to study and my teacher apparently doesn't like to be a teacher
Computer Programming 1 - You’ll Love Our Mugs
program must be done in python
Scenario: “You’ll Love Our Mugs” sells mugs – there are no size or color choices, however, the customer has
the option of adding a logo and / or a name to the mug. The cost of the mug by itself is $10, the logo cost is
$3 per mug, and the name cost is $2 per mug. In addition, if the user purchases 10 or more mugs (with or
without logo/name) the shipping charge is $0. If they buy less than 10 mugs, the shipping cost is a flat $5 fee.
There is a sales tax of 7%. (The sales tax is calculated before the shipping fee.) SAMPLE PROGRAM RUN IS ON
PAGE 2
Create a program that does the following:
(1) Purpose of program
(2) Constants – basic mug price, logo price, name charge price, sales tax amount, shipping more than 10,
shipping less than ten
(3) Variables – name cost, logo cost, number ordered, mug price, total price, shipping cost, amount owed,
order mugs (string), logo (string), name (string)
(4) Welcomes the customer to the store, let’s them know they can either order a plain mug or have the
option of adding a logo and/or name, the minimum order is 5 mugs, and tells them about the shipping
fees as outlined in the scenario above. (print statements)
(5) Asks the user if they wish to order mugs (input function)- if not (if statement), thank them for visiting
the store and say you hope to see them again. (print statement)
(6) If the user orders mugs (while statement Y) – ask them how many (input function)
(7) Check to see if they ordered the minimum number. (if statement, print statement telling them they did
not make minimum)
(8) If they did not order the minimum number, let them know they did not (print statement) and give them
the option to re-enter the number. (input function)
(9) Calculate the mug price (calculation) and let them know the cost of the mugs without customization
(print statement – formatted for currency to 2 decimals)
(10) See if the customer wants to add a logo, (input function) if so (if statement Y) calculate the cost of the
logo (calculation) and let them know how much it cost for JUST THE LOGO.(print statement formatted to
currency 2 decimal places) If not (else), remind them the cost of just the mugs. (print statement
formatted to currency 2 decimals)
(11) See if the customer wants to add a name (input function), if so calculate the cost of the name
(calculation) and let them know how much it will cost for JUST THE NAME . (print statement formatted to
currency 2 decimals). If not (else), just remind them the cost of the mugs (print statement formatted to
currency 2 decimals)
(12) Calculate the total cost of the mugs (calculations) (including any logo or name if the user chose that
option)
(13) Calculate the sales tax owed. (calculation)
(14) Calculate the shipping charge (if..else statement – did they order enough for no shipping cost)
(15) Calculate the total amount owed. (calculation)
(16) Print the following: (print statements with variable names formatted to currency with 2 decimals)
Number ordered and cost of mugs without logo/name
Cost of Logo
Cost of Name
Cost of Shipping
Total Amount Owed
(17) Ask the user if they would like to order any more mugs (input function)
(18) End the program (press any key)
Using the knowledge in computational language in python it is possible to write a code that there are no size or color choices, however, the customer has the option of adding a logo and / or a name to the mug.
Writting the code:import random
def do_something(first, second):
result = first + second + random.randint(-5, 5)
return result
import random
def do_something(first, second):
result = first + second + random.randint(-5, 5)
return result
do_something(3, 5)
print(result)
make_coffee(
tap_water,
electricity_from_wall_socket,
blue_espresso_pod,
)
coffee_cup = make_coffee(
tap_water,
electricity_from_wall_socket,
blue_espresso_pod,
)
See more about python at brainly.com/question/12975450
#SPJ1