Answer:
Dealing with traffic related issues
Explanation:
The police officer are primarily charged with the primary responsibilities of maintaining law and order in any given society.
from the police officer's perspective when I get pulled for a traffic stop it is expected that
- as a first rule is to always be polite to the officer. Greet the officer with a warm and friendly smile as this will lower his or her fears.
- Always follow instructions and give the officer your license, registration and insurance information when they ask for it.
- Treat the officer with respect and courtesy.
- Always remove your sunglasses and maintain eye contact with the officer. Most law enforcement officials view this as a sign that you are being truthful.
- Remain as inconspicuous as possible. If the officer doesn’t remember certain aspects of the incident, this can work to your advantage in court.
The additional two (2) things you need to do make traffic stop go smoothly are:
1) Ensure you maintain a high sense of dutifulness in cause of performing your responsibility,
2) Ensure you put on a user friendly welcome to the road users this help to make them feel safe and secured.
Word processing program is an example of a software. All the others,
such as Printer, Keyboard and Mouse are examples of Computer peripheral
devices or in short hardware devices. Generally these listed hardware
devices come under input or output computer device category. Also, by
classic meaning in layman terms these hardware components can be touched
or felt. In contrast, a word processing program is a part of a computer
system that consists of data or computing instructions and provides the
mechanism to computer to perform a certain task utilizing it's hardware
resources. Such components of computer system which are written using
one of the computer languages are called computer software or software
programs or simply software.
Answer:
The answer is below
Explanation:
The the sql command to list the total sales by customer , month , and product, with subtotals by customer and by month and a grand total for all product sales is:
SELECT S.CUS_CODE, T.TM_MONTH, S.P_CODE,
SUM(S.SALE_UNITS*S.SALE_PRICE) AS "TOTSALES"
FROM DWDAYSALESFACT AS S INNER JOIN DWTIME AS T ON S.TM_ID =
T.TM_ID
GROUP BY S.CUS_CODE,T.TM_MONTH,S.P_CODE WITH ROLLUP;
Please Help! Unit 6: Lesson 1 - Coding Activity 2
Instructions: Hemachandra numbers (more commonly known as Fibonacci numbers) are found by starting with two numbers then finding the next number by adding the previous two numbers together. The most common starting numbers are 0 and 1 giving the numbers 0, 1, 1, 2, 3, 5...
The main method from this class contains code which is intended to fill an array of length 10 with these Hemachandra numbers, then print the value of the number in the array at the index entered by the user. For example if the user inputs 3 then the program should output 2, while if the user inputs 6 then the program should output 8. Debug this code so it works as intended.
The Code Given:
import java.util.Scanner;
public class U6_L1_Activity_Two{
public static void main(String[] args){
int[h] = new int[10];
0 = h[0];
1 = h[1];
h[2] = h[0] + h[1];
h[3] = h[1] + h[2];
h[4] = h[2] + h[3];
h[5] = h[3] + h[4];
h[6] = h[4] + h[5];
h[7] = h[5] + h[6];
h[8] = h[6] + h[7]
h[9] = h[7] + h[8];
h[10] = h[8] + h[9];
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
if (i >= 0 && i < 10)
System.out.println(h(i));
}
}