Consider the following variable declarations and initializations.
int a = 2;
int b = 6;
int c = 3;

Which of the following expressions evaluates to false ?
A. a < b == c < b
B. a > b == b < c
C. a < b != b < c
D. a < b != c < b
E. a > b != b > c

Answers

Answer 1

The expression which evaluates to false is  a < b != c < b.

What is expression?

A "statement," which is just a single unit of execution and returns nothing, is different from a "expression," which is a mixture of values and functions that are combined and processed by the compiler to create a new value.

What is variable declarations?

You declare a variable when you give it a type and an identifier but have not yet given it a value. Definition of a variable When you assign a value to a variable, usually using the assignment operator =, you are defining the variable.

What is  initializations?

Except for function parameters, all auto variables can be initialized. If an automated object is not explicitly initialized, its value is undefined. Any legitimate C or C++ expression may be used to represent an initial value if one is provided.

Learn more about declarations and initializations click here:

https://brainly.com/question/27230187

#SPJ1


Related Questions

telnet is inherently unsecure because its communication is in plaintext and is easily intercepted. which of the following is an acceptable alternative to telnet?

Answers

Telnet is inherently unsecure because its communication is in plaintext and is easily intercepted. However, an acceptable alternative to telnet is: C. SSH.

What is telnet?

Telnet can be defined as a standard networking protocol which provides a command line interface (CLI) that is designed and developed to enable its end users virtually access a computer and create a bidirectional text-based (plaintext) communication with a remote network device such as a router.

What is SSH?

SSH is an abbreviation for secure shell and it can be defined as a network protocol that gives an administrator a secure way to access data over an unsecured network.

In this context, we can reasonably infer and logically deduce that secure shell (SSH) is an acceptable alternative to telnet.

Read more on SSH here: brainly.com/question/17147683

#SPJ1

Complete Question:

Telnet is inherently unsecure because its communication is in plaintext and is easily intercepted. which of the following is an acceptable alternative to telnet?

SSL

TLS

SSH

NAC

If alain were asked to take notes at the executive team meeting, the document he created would be called what?

Answers

If Alain were asked to take notes at the executive team meeting, the documents he created would be the meeting minutes.

What is document?

A written or typed piece of paper with some data on it is called a document. A written record of the proceedings is a meeting minute, often known as meeting notes.

Meeting minutes include taking notes for many individuals. They are not the same as the meeting agenda, which is a prepared list of the tasks that participants hope to accomplish during the meeting.  

Thus, if Alain were asked to take notes at the executive team meeting, the documents he created would be the meeting minutes.

To learn more about document, refer to the link below:

https://brainly.com/question/20696445

#SPJ1

write a python program that outputs numbers in a digital led format. the user will enter two integers a (scale) and b (number) separated by a space from the keyboard. the scale size should between [1,5]. error check. output number b in the digital led format where a is the scale. use the following led patterns:

Answers

Python program that simulates a 7-segment display, with digits at different scales.

Python code

# Drawing the led digit line by line, repeating the horizontal led as many times as the scale indicates.

def prints(a, mat):

   for i in range(5):  

        if (i % 2 == 0):  

            for j in range(5):

                if (mat[i][j] == 1):

                    print('', end = '-')                

                else: print('', end = ' ')                      

        else:  

           for x in range(int(a)):

               for j in range(5):

                   if (mat[i][j] == 1):

                      print('', end = '|')    

                   else: print('', end = ' ')

               print()      

        print()

       

 # Defining led patterns using elements of the arrays for each digit, charging them with zeros and ones, the ones indicate the leds that form the digit either horizontally or vertically.  

def digit0(a):    

   mat = [ [ 0, 1, 0, 1, 0 ],    

   [ 1, 0, 0, 0, 1 ],    

   [ 0, 0, 0, 0, 0 ],    

   [ 1, 0, 0, 0, 1 ],    

   [ 0, 1, 0, 1, 0 ] ]

   

   prints(a, mat)

def digit1(a):

   mat = [ [ 0, 0, 0, 0, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 0, 0, 0, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 0, 0, 0, 0 ] ]

   

   prints(a, mat)

def digit2(a):

   mat = [ [ 0, 1, 0, 1, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ],

   [ 1, 0, 0, 0, 0 ],

   [ 0, 1, 0, 1, 0 ] ]

   prints(a, mat)

def digit3(a):

   mat = [ [ 0, 1, 0, 1, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ] ]

   prints(a, mat)

def digit4(a):

   mat = [ [ 0, 0, 0, 0, 0 ],

   [ 1, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 0, 0, 0, 0 ] ]

   prints(a, mat)

def digit5(a):

   mat = [ [ 0, 1, 0, 1, 0 ],

   [ 1, 0, 0, 0, 0 ],

   [ 0, 1, 0, 1, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ] ]

   prints(a, mat)

def digit6(a):

   mat = [ [ 0, 1, 0, 1, 0 ],

   [ 1, 0, 0, 0, 0 ],

   [ 0, 1, 0, 1, 0 ],

   [ 1, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ] ]

   prints(a, mat)

def digit7(a):

   mat = [ [ 0, 1, 0, 1, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 0, 0, 0, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 0, 0, 0, 0 ] ]

   prints(a, mat)

def digit8(a):

   mat = [ [ 0, 1, 0, 1, 0 ],

   [ 1, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ],

   [ 1, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ] ]

   prints(a, mat)

def digit9(a):

   mat = [ [ 0, 1, 0, 1, 0 ],

   [ 1, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ],

   [ 0, 0, 0, 0, 1 ],

   [ 0, 1, 0, 1, 0 ] ]

   prints(a, mat)

# Checking the numbers

def checkDigit(a, num):

   if (num == 0):

       digit0(a)

   elif (num == 1):

       digit1(a)

   elif (num == 2):

       digit2(a)

   elif (num == 3):

       digit3(a)

   elif (num == 4):

       digit4(a)

   elif (num == 5):

       digit5(a)

   elif (num == 6):

       digit6(a)

   elif (num == 7):

       digit7(a)

   elif (num == 8):

       digit8(a)

   elif (num == 9):

       digit9(a)

if __name__ == '__main__':

# Define variables

n = str()

esp = str()

a = int()

b = int()

# Enter and validate data

print("Enter two numeric digits separated by space (a = scale and b = number): ")

while True:

 while True:

  n = input()

  if not len(n)==3:

   print("Try again")

  if len(n)==3: break

 esp = n[1:2]

 a = float(n[0:1])

 b = float(n[2:3])

 if not (esp==" "):

  print("Try again")

 else:

  if not (a>=1 and a<=5):

   print("Try again")

  else:

   if not (b>=0 and b<=9):

    print("Try again")

 if esp==" " and a>=1 and a<=5 and b>=0 and b<=9: break

checkDigit(a,b)

To learn more about 7 segment display programs see: https://brainly.in/question/36196263

#SPJ4

CODEHS PLEASE HELP ME(check attached pic)

Answers

Answer:

JavaScript Notation (If it is not JavaScript, Comment on this problem and I will immediately change it.)

var width = prompt("Input width.")

var length = prompt("Input length.")

if (length === width) {

    console.log(length*width , " is your area of the square.")

} else {

    console.log(2*length*2*width , " is your perimeter of the rectangle.)

The great Debators movie

Answers

Answer:

Mr. Tolson was a teacher at Wiley College and the head debate coach. He was very passionate about his students and debate. In the movie, The Great Debaters, Mr. Tolson was portrayed as a tough but loving teacher. He pushed his students to be the best they could be and believed in them even when they didn't believe in themselves.

what are desirable characteristics for a hash function? you can select multiple answers. group of answer choices uniformly distributed output avoids clustering deterministic output 0 to size-1 fast

Answers

The following are the desirable characteristics of a hash function

What are the desirable characteristics of a hash function?

The purpose of a hash function is to fit a set of inputs of any size into a table or other data structure with fixed-size elements.

Qualities of a Good Hashing Function. A strong hash function has the following four qualities:

1) The data being hashed entirely determines the value of the hash.

2) The input data are all used by the hash function.

3) The hash function "uniformly" disperses the data among all conceivable hash values.

A message or file can be used as a variable-length input for the hash function, which produces a fixed-length output that is typically much shorter than most input values.

Hence to conclude above are the desirable characteristics of hash function

To know more on hash function please follow this link

https://brainly.com/question/13149862

#SPJ4

Kayla is on-location shooting a wedding while her other employees will be holding down the office and taking care of any walk-ins. Kayla left them written reminders and instructions for some things that they need to take care of in her absence. How did Kayla MOST LIKELY leave these instructions?


in shot lists being created for upcoming events


in purchase orders for equipment that needs to be ordered


in memos she wrote prior to leaving


by telling the models who would be photographed that day

Answers

Kayla most likely leaves these instructions in short lists being created for upcoming events. The correct option is A.

What are the instructions?

Instructions are the things that a person tells other people or groups of people to do. These are compulsory things that are told to do. Shortlists are made to give instruction in a revision tone.

Kayla is leaving the place, so she is making reminder notes top tell her colleagues what to do in her absence. So, short noes are good options.

Therefore, the correct option is A. in shot lists being created for upcoming events.

To learn more about instructions, refer to the link:

https://brainly.com/question/2601676

#SPJ1

the windows 10 education edition supports hyper-v but not nested virtualization.
a. true
b. false

Answers

False,Windows 10 education support Hyper-V and nested virtualization.The 64-bit editions of Windows 10 Pro, Enterprise, and Education support Hyper-V.

Does Windows 10 education support Hyper-V and nested virtualization?The 64-bit editions of Windows 10 Pro, Enterprise, and Education support Hyper-V. You can use the capability known as nested virtualization to run Hyper-V inside of a Hyper-V virtual machine.This is useful for testing configurations that typically call for several hosts or running a Visual Studio phone emulator in a virtual machine.The use of nested virtualization is supported both on-premises and on Azure. On the following variants of Windows 10, the Hyper-V role can be activated:Windows 10 Business.Win 10 Pro.Using Windows 10 Education. The capacity to build virtual machines is one of Windows 10's capabilities.A bundled operating system called a "virtual machine" can run on top of a "host" operating system.Multiple "guest" operating systems can run on the same host thanks to virtualization, which also makes moving virtual computers between hosts simple.

To learn more about Windows 10 refer

https://brainly.com/question/28847407

#SPJ1

Which of the following addresses is not allowed on the Internet?
A. 191.192.168.1
B. 191.168.169.254
C. 172.32.255.0
D. 172.31.12.251

Answers

Answer: D: 172.31.12.251

When can fraction turned to decimal form and vise versa be useful in our daily activities?

Answers

Answer:

Explanation:

We use decimals all the time when dealing with money, weight, length, and so on. Decimal numbers are used when greater precision is required than whole numbers can provide. For example, when we weigh ourselves on the scale, we do not always find that the weight equals a whole number. To determine our exact weight, we must first comprehend what the decimal value on the scale means

In baking, fractions indicate how much of an ingredient to use. Time is told using fractions; each minute is a fraction of an hour. , when there is a sale, fractions are used to determine discounts. Me, as an electrician I use to use fractions when determining the length of a pipe for bending

identify the device or body pain computer

Answers

A computer is the gadget I'm using. I am not experiencing any body pain at the moment.

What is computer?

A computer is a digital electrical machine that may be programmed to automatically perform arithmetic or logical operations (computation). Programs are generic sets of operations which modern computers are capable of performing. These programmes allow computers to do a variety of jobs. A computer system is a "complete" computer which includes the necessary hardware, operating system (primary software), and peripheral equipment for "full" functioning. This term can also refer to a group of computers that are linked and collaborate, such as a computer network or even a computer cluster.

To learn more about computer
https://brainly.com/question/21474169

#SPJ1

what syntax is used to target a device based on its features by adding a feature and its value to the media attribute?

Answers

The proportion between the display's width and height is known as the aspect ratio of a display device. The width and height are represented by the two values (x:y), which are separated by a colon.

What are the syntax function target device feature?

The study of syntax focuses on the relationship between sentence structure and other linguistic information, including phonology, morphology, semantics, and pragmatics.

Therefore, Syntax is the structure used to arrange words and phrases to generate sentences. Let's take a look at an illustration of how the syntax of a sentence might be changed.

Learn more about syntax function here:

https://brainly.com/question/14213243

#SPJ1

i really need help on this

Answers

A privacy setting guide that would fit the above description is:

Ensure that cookie settings are restricted to zero or only necessary cookiesEnable AD block on the browserDisable "Push Metadata"Disable collection of Usage DataDisable share live location Use strong passwordsUse Two-Factor Authentication (Don't use SMS)Remove personal details such as contact, birth etc from public access etc.

What is a privacy settings guide?

Many websites and apps include privacy options that allow you to limit who may view your profile and what information visitors can see.

Privacy Guide, developed by Go. ogle's Safety Engineering Center (GSEC), is a step-by-step guided tour of some current privacy and security features in Chrome — so you can make and manage the correct choices for you in one place.

You can utilize privacy settings to indicate whether or not you agree to the collection, usage, and dissemination of your personal information.

That is why it is critical to choose and establish privacy settings on all social media accounts, internet services, devices, and browsers that you are comfortable with.

Learn more about privacy settings:
https://brainly.com/question/13650049
#SPJ1

there are two commands that we can use to save new configuration changes that we apply to the switch. what are these two commands?

Answers

end & 'Ctrl + Z' are the two commands that we can use in this case

What are the two commands used?

Type the end command or press the CTRL+Z keys simultaneously on the keyboard to exit any prompt, even the privileged EXEC mode.

The following are the uses for ctrl+z and exec mode:

1) Undo the operation

2)end helps you to get back to the one you are searching for

configuration changes:

When you alter component data that is subject to change control, a configuration change happens. Specific component fields and classification attributes are subject to change control. Configuration information refers to the fields and attributes you choose to use for change control.

Hence to conclude ctrl + z and end are the two commands we need

To know more on keys follow this link below:

https://brainly.com/question/24847632

#SPJ4

Which excel feature allows you to select all cells in the column with inconsistent formulas.

Answers

CTRL + D is used to fill the formula column down

What is the feature?

Hold down the SHIFT key while pressing one of your arrow keys, selecting the cell containing the erroneous formula, and then releasing the SHIFT key. This will select all the cells, including the one that is inconsistent. then choose one of these: To fill the formula down, press CTRL+D while selecting the cells below.

Excel's Go To Special Function[1] enables you to quickly choose all cells that match a set of requirements, such as cells that contain: Formulas (numbers, text, locals, errors) (numbers, text, locals, errors) Constants (text, numbers, logic, and mistakes)

Hence to conclude that CTRL+D excel feature allows you to select all cells in the column with inconsistent formulas.

To know more about the ctrl+D option and excel features follow this link

https://brainly.com/question/24749457

#SPJ4

what is the first priority while serving customers at pick-up

Answers

Answer:

Your priority at Pick-up is to acknowledge and serve all customers promptly. Remember, pickup is often our only chance to delight a customer. Equally important to promptly serving all customers is how we do them.

Explanation:

At Pick-up, promptly acknowledging and serving every customer is your first concern. Remember that Pick-up is frequently our only opportunity to please a customer. The way we serve our customers is just as important as doing so promptly.

How do you acknowledge the concern of a customer?

Managing a business involves responding to client complaints about subpar products, bad service, and other issues. Here's how your business may transform these complaints into chances to strengthen your brand and win over new clients.

Consumer Complaints:

Consumer complaints are grumblings from clients about anything involving your business, like a faulty product or poor client service. By paying attention to the customer's concerns, you can successfully address the issue and satisfy their complaint.

Your Brand and Customer Loyalty:

Your business's ability to respond professionally also has a big impact on whether you retain clients or lose them. Maintaining your company's reputation and brand health should be one of your primary business objectives.

By offering subpar customer service, it's simple to lose clients. Some customers won't bring their complaints to your customer service team, but others won't think twice about spreading negative feedback online or on social media. Customer loyalty is severely harmed when subpar products and poor customer service are combined.

Know more about acknowledgement of customer concern click here:

https://brainly.com/question/21042698

#SPJ4

the sales team has talked with thad about needing insights into product updates, changes, and approval processes so they can communicate more accurate and up-to-date information to customers. which system's information is the sales team needing access to? a. plm b. scm c. crm d. erp to make this proprietary information available to sales reps to share with customers concerns thad because of the risk of information getting to his company's competitors. what would theoretically protect the information in this scenario? a. bom b. encryption c. automation d. nda thad hopes that opening this channel of communication with the sales team will also help the production team by giving them access to select .

Answers

The system's information that the sales team is needing access to is crm. To theoretically protect the information in this scenario encryption is used. The correct options are c and b respectively.

What is encryption?

Encryption is the process of converting information into a secret code that conceals the true meaning of the information. Cryptography is the science of encrypting and decrypting information.

Unencrypted data is referred to as plaintext in computing, while encrypted data is referred to as ciphertext.

The goal of encryption is confidentiality, which is achieved by converting the message's content into a code.

The purpose of digital signatures is to ensure the integrity and authenticity of a message by verifying the sender and indicating that the content has not been altered.

The system information that the sales team requires is crm. In this scenario, encryption is used to theoretically protect the information.

Thus, the correct options are c and b respectively.

For more details regarding encryption, visit:

https://brainly.com/question/17017885

#SPJ1

Write an if/else statement to express the following real life situation. Mary likes ice cream and always chooses chocolate unless there is no chocolate in which case she chooses strawberry. But if there’s no strawberry either then she settles for vanilla, which, for some reason, is always available.

Answers

The if/then statement is given as follows:

"If there is chocolate, then Mary chooses chocolate. If there is no chocolate, then she chooses strawberry. Else if there is no strawberry, she chooses vanilla.

What is an If/Then Statement?

Conditionals are programming language instructions used to handle judgments in computer science. Conditionals, in particular, conduct various calculations or actions based on whether a boolean condition set by the programmer evaluates to true or false.

A conditional statement (also known as an If-Then Statement) is a statement that begins with a hypothesis and ends with a conclusion. A conditional statement can also be defined as "If this happens, then that will happen." A conditional statement's hypothesis is the first, or "if" element.

Learn more about If/Then statements:
https://brainly.com/question/552464
#SPJ1

(30) write a multithreaded program (using posix pthreads) that calculates various statistical values for a list of numbers. this program will be passed a series of numbers on the command line and will then create five separate worker threads. one thread will determine the average of the numbers, the second will determine the maximum value, the third will determine the minimum value, the fourth thread will determine the median value, and the fifth thread will determine the standard deviation. for example, suppose your program is passed the integers 90 81 78 95 79 72 85 the program will report the average value is 82.86 the minimum value is 72.00 the maximum value is 95.00 the median value is 81.00 the standard deviation is 7.77 the variables representing the average, minimum, maximum, median, and standard deviation values will be stored globally. the worker threads will set these values, and the parent thread will output the values once the workers have exited. comment your code and submit it in a file named numstats.cpp

Answers

Programming multiple, concurrent execution threads is known as multithreading.

Explain the multithreading ?On a single CPU, multithreading creates the appearance of parallel processing. The processor actually switches by utilizing a scheduling technique. Alternately, it may flip in response to a mix of outside inputs (interrupts) and the order in which the threads were prioritized.True parallel computing involves multithreading on many processor cores. Together, several microprocessors may provide the desired outcome more quickly. There are several concurrent, simultaneous tasks going on at once.Teams working on development projects nowadays value multithreading. And as technology advances, it will still be crucial.More operations are being conducted on several processor cores as we approach the limitations of what can be done on a single CPU. For AI, this is very crucial.

Learn more about multithreading refer :

https://brainly.com/question/15062443

#SPJ1

In an interview, you were asked to explain the steps involved in a successful authentication by a radius server. How should you answer?.

Answers

The access point receives a request from the supplicant (AP). The AP requests credentials from the user.

What is radius server ?In order to authenticate dial-in users and grant them access to the required system or service, remote access servers can communicate with a central server using the client-server protocol and software known as RADIUS.On a UNIX or Windows server, a RADIUS Server is a background process that operates. It enables you to keep track of user profiles in a main database. As a result, if you have a RADIUS Server, you can decide who can access your network.The RADIUS Client makes requests to the RADIUS Server whenever a user tries to connect to it. Only once the RADIUS Server authenticates and approves the user can the user establish a connection to the RADIUS Client.The precise makeup of the RADIUS ecosystem affects how the RADIUS Server functions. All servers do, however, support AAA. A RADIUS Server may also function as a proxy client for other RADIUS Servers in some RADIUS ecosystems.

To learn more about radius server refer :

https://brainly.com/question/28529631

#SPJ4

In HTML, write a short paragraph describing something from a book or movie (two or three sentences). Be sure to mention the book or movie title in the paragraph, and format appropriately.

Answers

To write in HTML, you need to understand the format of the HTML itself. This is an example how to write a paragraph in HTML.

<html>

   <head>

       Black Adam

   </head>

   <body>

       <p>Black Adam is one of DC movies that airs in 2022.</p>

       <p>Directed by Jaume Collet-Serra, and featuring Dwayne Johnson as Black Adam.</p>

       <p>Black Adam is rated for PG 13.</p>

   </body>

</html>

First, you need to define what language you want to write in this case, it's HTML so write <html> and don't forget to complete with </html> at the end.Next, there is two part in html which is head and body. Head or header is intended for the name of the website, in this case it's the movie name. While body is intended for the content of the website, or in this case it's the paragraph.Next, you need to write the sentence to make a paragraph. In order to to that, you need to write <p> follows by the sentence and complete with </p>.

Learn more about HTML here

https://brainly.com/question/7169423

#SPJ1

string comparisons are made from left to right.
a. true
b. false

Answers

Answer:

A) True

I hope this helped!! Please like this!

A.true explanation: allows the use of logical restrictions on its inquiries such as OR, AND, and NOT. The conditional LIKE must be used in conjunction with wildcard characters.

let's create a new dictionary called opposites. the keys in the dictionary will be strings each representing a single word, and the values will be strings representing the opposite of the word given by the key.

Answers

The code for the new dictionary called opposites is:

the first key/value pair will be "hot"/"cold".

opposites = {

   "hot": "cold",

}

the second key/value pair will be "push"/"pull".

opposites = {

   "hot": "cold",

   "push": "pull",

}

the third key/value pair will be "up"/"down".

opposites = {

   "hot": "cold",

   "push": "pull",

   "up": "down"

}

the fourth key/value pair will be "inside"/"outside".

opposites = {

   "hot": "cold",

   "push": "pull",

   "up": "down",

   "inside": "outside"

}

Code Explanation:

   Create a dictionary called opposites.    Add the first key/value pair to the dictionary.    Add the second key/value pair to the dictionary.    Add the third key/value pair to the dictionary.    Add the fourth key/value pair to the dictionary.

Learn more about programming :

https://brainly.com/question/18900609

#SPJ4

Which line of code makes the character pointer studentpointer point to the character variable userstudent?

char userStudent = 's';
char student Pointer;

a. user Student = studentPointer;
b. studentPointer = &user Student
c. studentPointer = &user Student:
d. user Student = 'studentPointer;

Answers

The correct answer is the option c. studentPointer = &user Student;

The address of another memory cell can be stored in a pointer, which is a special memory location. Pointer could therefore be a pointer that only points to locations that contain characters. Characters are stored in contiguous memory locations using character

A data type called a string is used to store an array's series of characters. In C, a pointer to a string can point to the array's first character, which is the array's starting address. In C, a string's final character is always a null character (\0), signifying that the string has ended.

The starting address of the array, or the first character in the array, can be referred to using a pointer to string.

The character stored at the location can be determined by dereferenceing these pointers using the asterisk * operator. The storage of multiple strings is possible with both pointer variables and 2D arrays.

To learn more about Pointers click here:

brainly.com/question/29063518

#SPJ4

write a program that computes how much the user owes for parking in a particular parking garage. the garage charges $4.25 per hour. however, the minimum amount they charge is $7. this means that if the total comes to something less than $7, the user is still charged $7. in addition, if the user was parked for more than 3 hours, they earn a 25% discount. for example, if they were parked for 4 hours, they would owe $17. but since they were parked for more than 3 hours, they get 25% off and only owe $12.75. follow the comments in main to ask the user how many hours they parked and compute their total.

Answers

Using the knowledge in computational language in JAVA it is possible to write a code that computes how much the user owes for parking in a particular parking garage.

Writing the code:

import java.util.Scanner;

public class Discounts {

public static void main(final String [] args) {

 System.out.println("How many hours have you been parked ?");

 final Scanner s = new Scanner(System.in);

 final int hours = s.nextInt();

 final double chargePerHour = 3.50 ;

 final double totalCharge = hours * chargePerHour;

 if(totalCharge > 20.0) {

  System.out.println("You owe $20.0");

 }

 else {

  System.out.println("You owe $" + totalCharge);

 }

}

}

See more about  JAVA at brainly.com/question/12975450

#SPJ1

your customer uses a posting period variant with special periods, and you need to allow specific users to post in these specials periods. what do you assign in the posting period variant? please choose the correct answer

Answers

Since your customer uses a posting period variant with special periods, and you need to allow specific users to post in these specials periods. the thing that you assign in the posting period variant is option  A: An authorization group to period intervals 1 and 2.

What are rules for posting period variants?

The posting period variant with unique periods, SAP FI image To keep accounting periods open for posting and all closed periods balanced, the posting period variant is employed. This is utilized for posting purposes during the beginning and end of the fiscal year. These posting periods can be linked to one or more company codes.

The year-end closing time is divided into special periods. They merely split the previous posting period into many closing periods as a result. You can then produce a number of supplemental financial statements thanks to this. 12 posting periods typically make up a fiscal year.

Hence, The definition of authorization groups depends on the solution. They have a technical name that is verified in the field SMUDAUTHGR of authorization object SM SDOC.

Learn more about authorization from

https://brainly.com/question/14450567
#SPJ1

implement map using open addressing with linear probing. hint: you must create a new concrete class that implements mymap using open addressing with linear probing, as described on p. 989. see the lecture on linear probing. for simplicity, use f(key)

Answers

Here is the sample how to implement Mymap in Java programming

public class Exercise {

public static void main(String[] args) {

 // Create a map

 MyMap<String, Integer> map = new MyHashMap<>();

 map.put("Sebastian", 35);

   map.put("Andre", 37);

 map.put("Luke", 25);

 map.put("Caroline", 25);

 map.put("Thomas", 23);

 map.put("Makaela", 23);

 map.put("Shayne", 56);

 map.put("Will", 24);

 System.out.println("Entries in map: " + map);

 System.out.println("The age of Luke is " +

  map.get("Luke"));

 System.out.println("The age of Will is " +

  map.get("Will"));

 System.out.println("Is Shayne in the map? " +

  map.containsKey("Shayne"));

 System.out.println("Is Jack in the map? " +

  map.containsKey("Jack"));

 System.out.println("Is age 37 in the map? " +

  map.containsValue(37));

 System.out.println("Is age 35 in the map? " +

  map.containsValue(35));

 System.out.print("Keys in map: ");

 for (String key : map.keySet()) {

  System.out.print(key + " ");

 }

 System.out.println();

 System.out.print("Values in map: ");

 for (int value : map.values()) {

  System.out.print(value + " ");

 }

 System.out.println();

 map.remove("Shayne");

 System.out.println("Entries in map " + map);

 map.clear();

 System.out.println("Entries in map " + map);

}

}

Learn more about Java Programming here:

https://brainly.com/question/12972062

#SPJ4

What are uses of Spreadsheet

Answers

Answer: The three most common general uses for spreadsheet software are to create budgets, produce graphs and charts, and for storing and sorting data. Within business spreadsheet software is used to forecast future performance, calculate tax, completing basic payroll, producing charts and calculating revenues.

Explanation:

Answer: You can use it to storing and sorting data and to produce graphs  , it also has other uses.

your company, stormwind, requires that you implement security, and you have been asked to define and implement a security policy. you have to specify how long a password must be kept before it can be changed. which of the following password policies will you use to accomplish this?

Answers

There is no one answer to this question as it depends on the specific security needs of the company. Some possible password policies that could be used to accomplish this goal include:

requiring passwords to be changed every 30 days, every 60 days, or every 90 days. Other possible policies could include requiring a minimum password length, prohibiting the use of common words or phrases, or requiring a combination of letters, numbers, and special characters.

Importance of the security policy:

The security policy is important because it helps to ensure that sensitive company data and information is protected. By specifying how often passwords must be changed, the policy helps to prevent unauthorized access to company systems and data.

Learn more about the security policy:

https://brainly.com/question/5673688

#SPJ4

when do you use the following sequence of commands: pivottable tools -> analyze -> pivottable -> options -> generate getpivot data?

Answers

Prevent Excel from using GETPIVOTDATA function.

What is Excel ?

A piece of software developed by Microsoft that employs formulas and functions to organize data and numbers using spreadsheets. Financial analysis is performed by companies of all sizes using Excel analysis, which is widely used worldwide.

What is Financial analysis?

Financial analysis is the process of assessing the performance and suitability of businesses, projects, budgets, and other financial-related transactions. Financial analysis is frequently used to determine whether a company is solid, solvent, liquid, or profitable enough to justify a financial investment.

By typing = (the equal sign) in the cell you want to return the value to and clicking the PivotTable cell that contains the data you want to return, you can quickly enter a straightforward GETPIVOTDATA formula.

Under Excel Lookup and Reference functions, the GETPIVOTDATA Function is listed. An Excel Pivot Table can use the function to extract data from specific fields. The Pivot Table is frequently employed in financial analysis to enable more thorough analysis of given data.

Learn more about GETPIVOTDATA click here:
https://brainly.com/question/29034341
#SPJ4

Other Questions
(2.2.1) Each biological parent contributes one chromosome, half of a chromosome pair, during fertilization. For example, when a sperm fertilizes an egg.one chromosome from chromosome pair 1 is contributed by the sperm and another pair of chromosome 1 is contributed by the egg. Together, these twochromosomes, calledO sister chromatidsO homologous chromosomesO heterozygous chromosomesO homologous chromatids Rebecca knows that becca furniture's marginal cost curve is above the average total cost curve. this means becca furniture's average total cost curve?a. must be rising b. may be rising, falling, or flat depending on other things. c. must be flat d. must be falling Draw the electron dot structure of the hydroxide ion (OH-). Which u. S. Supreme court case was responsible for the creation of the exclusionary rule?. Find the slope (3,-20),(5,8) -4(6x + 7) = -316 What is the answer? What did you get for GH? 0.14 3.5 On EDPUZZLE HELP MEEEEEE PLEASEEEEE a farmer is taking out a 20-year loan of $30,000 with equal principal annual payments and an interest rate of 12%. growth rate of farm returns are expected to be 4% per year. what is the interest payment in the 5th year? A baseball player makes an annual salary of 3,200,000.A charitable organization states that for $120 it can send 1 child to school in a developing country for 1 year. The baseball player decides to donate 10% of his annual salary to this organization. Calculating it would be 320,000. About how many children could his donation send to school for 1 year? I have to make same changes in my nextjs project because my enpoint API doesn't support many calls and I would like to make a refresh from the original data every 3 min.I implemented API from nextjs: I create a pages/api/data and inside I make the call to my endpoint, and in my getInitialProps inside index call to data file.The get works okey, but I have 2 problems:1: I have and alert message that says:API resolved without sending a response for /api/data, this may result in stalled requests.2: It dosen 't reload data after 3 min..I supouse it is beacuse Cache-Control value...This is my code: Find the value of the expression (2x 12) + (xy-10) for x = 8 and y = 2.-O-8O 6O-1002 What did the Kansas-Nebraska Act upset? write 3-5 pages paper based on the below exercises from Mnagement prespective. Assessing Your Attitudes toward Corporate ResponsibilityAssessing Your Perspective on EthicsAssessing Your Global Manager PotentialAssessing Your Career Vision and PlanAssessing Your Core Skills Required for Strategic PlanningAssessing Your Decision-Making StyleAssessing Your Preferred Type of Organizational CultureAssessing Your Person-Job FitAssessing How Adaptable You AreAssessing Your Attitudes toward TeamworkAssessing Your Readiness to Assume a Leadership RoleAssessing Your Communication CompetenceYour outline should focus on the following questions:What are my strengths? How will these strengths help me manage and work with others more successfully?What are my weaknesses? How will these weaknesses, if not improved upon, get in my way of success?What was I most surprised about in taking these assessments and why? What did I learn about myself that I did not know before taking the assessments?How can I use this information going forward?Formatting requirements:3 to 5-page paperTimes New Roman, size 12, double-spaced A country's population in 1994 was 182 million. In 2002 it was 186 million. Estimate growth formula. Round your answer to thethe population in 2004 using the exponentialnearest million. Question Write an equation of the line that passes through (4,1) and is parallel to the line y=3x+7 Question 12 (10 points)If AWXY is equilateral and AWZY is isosceles, find each missing measure. Answers may be used more than once!angle 1 =angle 2 =angle 3 =angle 4 =angle 5 = Una casa ms grande. Por correo urgente. Viendo la televisin. Cuando no vengan coches. En el banco del barrio. En efectivo. the conversion option for group term insurance may be exercised by an employee Let sample space be S={1,2,3,4,5,6,7,8,9,10} suppose the outcomes are equally likely. Compute the probably of the event E= an odd number less than 9