import static java.lang.System.*;
import java.util.Scanner;
public class Sales{
//you haven't learned about "static" yet but take it on faith that it is needed
//we'll discuss in future classes what it actually means and why you need it
//create a private static variable for price
//create a private static variable for discountRate - it's an integer
//create a private static variable for tax
// the sale method takes in no parameters
// there are 3 print satements and the method returns the final sale price
public static double sale(){
//write your code here. Use the Word doc example as a guide to what the print statements
//should look like. Don't forget the "return" statement.
}
/*
*The main method is what is executed when the "run" button is clicked.
*It is necessary, in this case, for the program to be tested.
*Actually study this code and trace through it to see how the Scanner is used to assign
* values to the variables. Also pay attention to the use of print, println and \n to cause the
* output to be formatted the way it is in the example.
*/
public static void main(String[] args){
Scanner kb = new Scanner(System.in);
System.out.print("Please enter a price: ");
price = kb.nextDouble();
System.out.println(price + "\n");
System.out.print("What is the tax rate? ");
tax = kb.nextDouble();
System.out.println(tax);
discountRate = (int)(Math.random() * 40);
System.out.println("Result returned is " + sale());
}
}
Can anyone help with this
1. How should a cover letter begin?
A. With an informal greeting like "Hey, there!"
B. With the hiring manager's name
C. With the name of the position
D. With "To Whom it May Concern"
2. If an occupation is projected to neither grow nor decline over the next 10 years, how would you rate the job outlook?
A. Advancing
B. Steady
C. Strong
D. Weak
A cover letter refers to the document attached with the resume that provides additional information about skills and experiences related to the job which the applicant is applying for. It is also known as application letter.
It is written in the paragraph form which includes about candidate's skills experience and achievements in relation to the position. Furthermore, it is begun with the hiring manager's name.
If over the next ten years, an occupation neither increase nor contract, is shows that it that stable situation.
Therefore, It can be concluded that option (B) is correct for first question and option (B) is correct for second question.
Learn more about cover letter here:
https://brainly.com/question/14204316
#SPJ2
Hard disk storage technology can be classified as ____ storage.
_____ does not allow changing service or bandwidth because a website allows illegal media sharing
Final answer:
Net Neutrality does not allow changing service or bandwidth because a website allows illegal media sharing.
Explanation:
Net Neutrality ensures that internet service providers treat all online data equally, prohibiting discrimination or favoritism. It doesn't permit altering service or bandwidth based on the content of websites, including those facilitating illegal media sharing. Upholding Net Neutrality principles means ISPs can't selectively throttle or block access to specific sites or services.
Instead, they must provide consistent and nondiscriminatory access to all online content. This ensures fair and open access to information and services for users, regardless of the nature of the content they access. Thus, Net Neutrality safeguards against arbitrary restrictions based on the legality or illegality of online activities.
Which device provides access to wireless/mobile devices within a local area network?
To connect multiple usb devices to a single usb port, a ____ can be used.
Which are types of online resources that students can use for help? Check all that apply.
Answer:
A, B,E.
have a great day
What is the proper course of action for the following scenario? You want to expand a computer’s capability to play and process video. Which of the following must you do?
Install a video card into a socket on the motherboard
Install a video card into a slot on the motherboard
Install a video card into a port on the motherboard
Install a video card into a chipset on the motherboard
Answer:
Install a video card into a slot on the motherboard
Explanation:
What type of file system is used by sdxc memory cards?
Answer:
ExFAT
Explanation:
A: Required: Create and delete file of the programs are a. process control b. file management ... question_answer Q: 350. __________ is used to shift processes so they are contiguous
What is jpeg? what considerations have to be kept in mind with jpeg?
In spreadsheet software, use ____ to create meaningful data summaries to analyze worksheets containing large volumes of data.
What information would be included in the data portion of an ethernet frame on an ip network?
David’s gross pay is $450, and his total deductions were $49. What is his net pay?
After a worksheet has been displayed in page layout view, page breaks are indicated by ________ in normal view.
What is the difference between a syntax error and a logical error?
in order to reduce the file size of an image in word the user should use
To reduce the file size of an image in Word, the user should compress the image. This action can be done through the Picture Tools in Word by selecting the image, then choosing the Compress Pictures option, which allows the user to reduce the image resolution and delete cropped areas.
Reducing the file size of images can make documents easier to share and quicker to open, especially important when dealing with large files or limited storage capacity. In Word, this is typically achieved through the in-built Compress Pictures feature, found in the Picture Tools format tab. This feature helps the user adjust the image properties to minimize its file size while attempting to maintain an acceptable level of image quality. Another option includes saving the image with a lower resolution or using a more efficient image format before inserting it into the Word document.
List three considerations when you choose memory.
When you tell a computer what to do, you are providing input?
A web application server that is compromised in a cross-site scripting attack is said to be
If a computer is having trouble navigating to a website when you enter the url into the browserâs address box, but is able to access the site when you enter the web serverâs ip address, which server available to your network should you make sure is functioning correctly?
To get a sense of your digital footprint, you should: Question 2 options: Google yourself regularly, and monitor what your friends post, in case they've posted something about you Google yourself once a year Google yourself every five years Delete all of your accounts and start fresh
Spreadsheet software creates a ____, composed of a grid of columns and rows
Attacks that take place against web based services are considered to be what type of attack?
To research scholarly information for her history project, Lucy should most likely visit a
a .com website.
b .edu website.
c .gov website.
d .org website.
Answer: The correct answer is choice b, a .edu website.
Explanation: In order to research scholarly information for her history project, Lucy should most likely visit a .edu website. Websites that end in .edu are normally educational institutions, which which be the most likely to contain scholarly articles.
To research scholarly information for her history project, Lucy should most likely visit a .edu website. The correct option is b.
What is a website?A web page (or webpage) is a World Wide Web hypertext document. A web server serves up web pages to the user, which are then displayed in a web browser.
A website is made up of several web pages that are linked together by a common domain name.
The world wide web is made up of all of the websites put together. The website can be of various types, such as an e-commerce website, a social media website, or a blog website, and each website serves a different purpose, but they all have several linked web pages in common.
When choosing a domain name, one of the top-level domain names that can be used is "edu." It generally refers to the domain name's owner as a four-year college or similar educational institution.
Thus, the correct option is b.
For more details regarding a website, visit:
https://brainly.com/question/19459381
#SPJ6
Richard works in a café for six hours a day and is paid $6 per hour for any extra time worked. If Richard worked 6.5 hours on Monday, 6 and a half hours on Tuesday, 6 hours on Wednesday, 6 hours on Thursday, and 6 hours and 30 minutes on Friday, how much extra money will Richard earn that week?
Name two purposes of creating a microsoft account for use in visual studio 2015
What type of software can you use to capture and examine the contents of network messages?
A right turn should be from the right lane into the right lane of the roadway entered. True or false. A. True B. False
What would happen if computers only had input peripherals and a CPU?
A. Computers would process and display data.
B. Computers would receive signals and display data.
C. Computers would receive signals and process data.
D. Computers would receive signals, process, and print data.
What would happen if computers only had input peripherals and a CPU is that: C. Computers would receive signals and process data.
A computer can be defined as an electronic device that is designed and developed to receive data in raw form as an input and then processes these data into an information (output) that could be used by an end user.
Basically, the main part of a computer include the following;
Central processing unit (CPU): this is the brain of a computer and it does all the processing and logical control.Input devices (peripherals): keyboard, mouse, scanner, etc.Output devices (peripherals): printer, monitor, speaker, etc..Motherboard.Memory and storage device: random access memory (RAM) and read only memory (ROM).
Hence, if a computer only has input peripherals and a central processing unit (CPU) it would receive signals and process data respectively.
Find more information: https://brainly.com/question/17402566
Many common web page designs use columns that are about ____ of the width of the page to approximate traditional aesthetic proportions.