Who Ships Vanny and William Afton Because I do

Answers

Answer 1

Answer:

me too

Explanation:

so cute together

Answer 2

Answer:

I don't if i had to pick I would ship glitch trap and vanny but I dont because im not nasty like you guys

Explanation


Related Questions

Which of the following statements is true concerning the Internet of Things (IoT)? Wearable technologies are the only devices that currently connect to the Internet of Things. IoT is not affecting many businesses and the products they offer. Growth is expected to slow down over the next five years. IoT technology is relatively new and is expanding exponentially.

Answers

Answer:

i was looking and i think the answer would be growth slowing down but i might be wrong

Explanation:

Which of the following statements is true concerning the Internet of Things IoT is that the technology is relatively new and is expanding exponentially.

The IoT is regarded as a large network of connected things and individual. They collect and share data about the way they are used and about the environment around them.

It is aimed to connect all potential objects to interact each other on the internet to provide secure and a more comfort life for people.

The future of IoT has the prediction to be limitless with great advances and the industrial internet will be accelerated.

Conclusively, the Internet of Things (IoT) connect the world together.

Learn more from

https://brainly.com/question/14397947

Select the correct answer.
What aspect of mobile apps makes them attractive for communication?
OA.
They can be used on smartphones only.
OB. They facilitate fast texting between e-readers.
OC. They allow communication across platforms and networks.
OD. They allow easy access to social media even without Internet access.
Reset
flext

Answers

Answer:

it is for sure not-D.They allow easy access to social media even without Internet access.

so i would go with C.They allow communication across platforms and networks

Explanation:

TRUST ME

The statement 'they allow communication across platforms and networks' BEST describes the aspect of mobile apps that makes them attractive for communication.

A mobile application (i.e., an app) is an application software developed to run on a smartphone or tablet.

Mobile applications generally share similar characteristics to those observed when accessing through a personal computer (PC).

Mobile apps communicate by using different pathways and platforms such as email, in-app notices, and/or notifications.

In conclusion, the statement 'they allow communication across platforms and networks' BEST describes the aspect of mobile apps that makes them attractive for communication.

Learn more in:

https://brainly.com/question/13877104

You can run a macro by:
-Selecting the button assigned
-Using the shortcut keys assigned
-Using the view tab
-Selecting run macro from the status bar

Answers

Selecting the button assigned

Using the shortcut Keys assigned

Explanation:

By clicking the assigned button one can run a macro and we can assign a short cut key to macro which we created.

So, the two options we can use to run a macro.

explain what qualifies a device to be called a computerized system​

Answers

Answer; A peripheral is a “device that is used to put information into or get information out of the computer.”[1]

There are three different types of peripherals:

Input, used to interact with, or send data to the computer (mouse, keyboards, etc.)

Output, which provides output to the user from the computer (monitors, printers, etc.)

Storage, which stores data processed by the computer (hard drives, flash drives, etc.)

Explanation:

Write a Java program that can compute the interest on the next monthly mortgage payment. The program reads the balance and the annual percentage interest rate from the console.
The interest rate should be entered as a percentage value and not as a floating-point number (e.g.: for an interest rate of 4.25%, the user should enter 4.25, and not 0.0425). The program should check to be sure that the inputs of balance and the interest rate are not negative. The program should then compute and display the interest amount as a floating-point number with 2 digits after the floating point.
Formula: the interest on the next monthly mortgage payment can be computed using the following formula: Interest = balance x (annualInterestRate / 1200)

Answers

Answer:

import java.util.Scanner;

public class Main

{

public static void main(String[] args) {

    Scanner input = new Scanner(System.in);

   

    double balance, rate, interest;

   

 System.out.print("Enter the balance: ");

 balance = input.nextDouble();

 

 System.out.print("Enter the annual percentage interest rate [%4.25 must be entered as 4.25]: ");

 rate = input.nextDouble();

 

 if(balance < 0 || rate < 0)

     System.out.println("The balance and/or interest rate cannot be negative!");

 else{

     interest = balance * (rate / 1200);

     System.out.printf("The interest amount $%.2f", interest);

 }

}

}

Explanation:

Ask the user to enter the balance

Ask the user to enter the interest rate as given format

Check the balance and rate. If any negative value is entered, print an error message. Otherwise, calculate the interest using the given formula and print the interest in required format

Suppose that we are working for an online service that provides a bulletin board for its users. We would like to give our users the option of filtering out profanity. Suppose that we consider the words cat, dog, and llama to be profane. Write a program that reads a string from the keyboard and tests whether the string contains one of our profane words. Your program should find words like cAt that differ only in case. Option: As an extra challenge, have your program reject only lines that contain a profane word exactly. For example, Dogmatic concatenation is a small category should not be considered profane.

Answers

Answer:

Here is the JAVA program:

import java.util.*;   //to use Scanner class, Lists

public class Main{  //name of class

public static void main(String[] args) {  //start of main function

  String sentence = "CaT and catalog are not same";  //a string

  sentence = sentence.toLowerCase();  // converts the words in the sentence to lowercase

  Scanner sc = new Scanner(sentence);  //creates Scanner class object

  List<String> profane_words = profaneList();  // creates a list of profane words i.e. cat, dog and llama

  int count = 0;  //count the number of profane words

  while (sc.hasNext()) {  //reads string as tokens and returns true if scanner has another token

      String word = sc.next();  //returns the next complete token (word) and store it into word variable

      for (String profane : profane_words) {  // looks for each profane in profane_words list

          if (word.matches(".*\\b" + profane + "\\b.*") && ! sentence.matches(".*" + profane + "[a-z].*\\b" + profane + "\\b.*") && ! sentence.matches(".*[a-z]" + profane + ".*\\b" + profane + "\\b.*")) {  //uses matches() method that identifies whether a word in the string matches the given regular expression.

              count++;  //each time if the word of sentence matches with word given in profane_list then 1 is added to count

              System.out.println("The word " + profane + " is a profane!");  //displays the word which is profane

          }  }    }

  System.out.println("Number of profane words: "+ count);  }  //displays the number of profane words found in the sentence

private static List<String> profaneList() {  //list of profane words

  List<String> profane_words =  new ArrayList<>();  //creates an array list of profane words named as profane_words

  profane_words.add("dog");  //adds word "dog" to the list of profane words

  profane_words.add("cat");  //adds word "cat" to the list of profane words

  profane_words.add("llama");  //adds word "llama" to the list of profane words

  return profane_words;  }} //returns the list of profane words

Explanation:

I will explain the program with an example:

sentence = "CaT and catalog are not same";  

First this sentence is converted to lower case as:

sentence = "cat and catalog are not same";  

Now the while loop uses hasNext() which keeps returning the next token and that token is stored in word variable.

Next the for loop iterates through the list of profane_words to check each profane word with the word in a sentence.

Next this statement:

if (word.matches(".*\\b" + profane + "\\b.*") && ! sentence.matches(".*" + profane + "[a-z].*\\b" + profane + "\\b.*") && ! sentence.matches(".*[a-z]" + profane + ".*\\b" + profane + "\\b.*"))

uses regular expressions to find the profane words in the sentence. The logical operator&& AND between the three expressions is used so all of the three must hold for the if condition to evaluate to true.

word.matches(".*\\b" + profane + "\\b.*")  expression uses \b to check an exact match of the word. \b is meta-character to find a match at the beginning and at the end. So this checks if the word of a sentence matches with the profane in the profane list.

! sentence.matches(".*" + profane + "[a-z].*\\b" + profane + "\\b.*") && ! sentence.matches(".*[a-z]" + profane + ".*\\b" + profane + "\\b.*"))

These two expressions check if profane does not include as a part of another word in the sentence. This solves the extra challenge. Like here in the sentence we have a word catalog which is not a profane but a profane cat is included in this. So this will not be considered as a profane.

Every time a word matches with the profane from profane list, the value of count variable is incremented to 1.

In the end the statement:    

System.out.println("Number of profane words: "+ count);  

prints the number of profane words in the sentence.

List<String> profane_words =  new ArrayList<>(); creates the list of profane words and add() method adds the words to the list profane_words. So profane_words list contain "cat", "dog" and "llama"

Hence the output of this program is:

The word cat is a profane!                                                                                                                      Number of profane words: 1

The program output is attached in screenshot

A robot worker and a human worker are both vulnerable to

Answers

Answer:

fire

Explanation:

Create a data definition class to model one product sold at a bakery. The product will have a description, cost, and quantity in stock. Instance methods include: accessors for each instance variable, non-validating mutators for each non-numeric instance variable, validating mutators for each numeric instance variable, and a special purpose method called sell. The sell method must accept an integer parameter indicating the product quantity to be purchased. Note: A product cannot be sold if there is not enough in stock. The bakery opens with 50 of each product in stock and all products are less than $5. Remember you are modeling ONE product only!

Answers

Answer:

hhhhhhhhhhhhhhhhhhhhhhhhhh

Explanation:

For questions 1-3, consider the following code:

Answers

Answer:

A and C

Explanation:

9 does not equal 8 so A

9 is not greater than 10 so no B

9 is less than 10 so C

9 ÷ 2 does not equal 1 so no D


What was the first commercially available home computer (1975)?​

Answers

i believe it was The MITS Altair 8800

List five differences a wiki has to a blog

Answers

Answer:

Blog :

Blogs are built to attract attention of business or product. Content written in the blog are more responsive.Blogs content tend to be more casual and approachable.Blogs contains single self-contained articles.Blogs doesn't require continuous updating and maintenance.Blogs belong to one department in a business.  

Wiki:

Wiki is generally intended for internal use and doesn't benefit from the content.Wiki content is Straightforward ,informative and more formal.A useful wiki is encyclopedic on the topics it contains Wiki requires continuous updating and maintenance to individual pages after publishing.Wiki is handled by all the collaborators who contribute.

Which term is not related with font?

Question 5 options:

Font grammar


Font color


Font size


Font face

Answers

Answer:

Font Grammar

Explanation:

Thank Google, lol!

The term that is not related to the font is font grammar. There is nothing such thing as font grammar. The correct option is a.

What are fonts?

Fonts are the shape and design for the different alphabetic. These are present in computers and phones. We can create multiple designs shaped by these fonts.

Web designers could choose a common typeface (like Sans serif) if they want everyone to view the same font because not all machines can display all fonts.

Some designers may opt to use a fancier typeface and then specify a more straightforward font as a "backup" that a computer can use if the fancier font cannot be seen. The theme is a predetermined collection of hues, fonts, and visual effects.

Therefore, the correct option is a, Font grammar.

To learn more about fonts, refer to the link:

https://brainly.com/question/10878884

#SPJ2

Suppose you need a spreadsheet application. When shopping for the right one, what is the most important factor to consider?
a. the keyboard layout
b. the type of pointing device you use
c. the operating system platform
d. the monitor size

Answers

Answer:

C.

Explanation:

A platform consists of an operating system, and the hardware. The hardware consists of the microprocessor, main storage, data bus and attached I/O devices (disks, display, keyboard, etc.). The operating system must be designed to work with the particular microprocessor's set of instructions.

C. the operating system platform

What is the most important program in an OS?

The most important systems program is the operating system. The operating system is always present when the computer is running. It coordinates the operation of all the hardware and software components of the computer system.

What is a platform system?

In IT, a platform is any hardware or software used to host an application or service. An application platform, for example, consists of hardware, an OS and coordinating programs that use the instruction set for a particular processor or microprocessor.

To learn more about operating system platform, refer

https://brainly.com/question/23880398

#SPJ2

Return the "centered" average of an array of ints, which we'll say is the mean average of the values, except ignoring the largest and smallest values in the array. If there are multiple copies of the smallest value, ignore just one copy, and likewise for the largest value. Use int division to produce the final average. You may assume that the array is length 3 or more.centeredAverage({1, 2, 3, 4, 100}) → 3centeredAverage({1, 1, 5, 5, 10, 8, 7}) → 5centeredAverage({-10, -4, -2, -4, -2, 0}) → -3

Answers

Answer:

The code to this question can be defined as follows:

public double centeredAverage(ArrayList<Integer> nums) //defining a method centeredAverage that accepts an array nums

{

   if ((nums == null) || (nums.size() < 3))//define if block for check simple case value

   {

       return 0.0;//return float value

   }

   double sum = 0; //defining a double variable sum

   int smallest = nums.get(0);//defining integer variable and assign value

   int largest = nums.get(0);//defining integer variable and assign value

   for (int i = 0; i < nums.size(); i++) //defining for loop for stor ith value

   {

       int value = nums.get(i);//defining integer value variable to hold nums value

       sum = sum + value;//use sum variable for add value

       if (value < smallest)//defining if block to check value less then smallest

           smallest = value;//hold value in smallest variable  

       else if (value > largest)//defining else if block that checks value greater them largest value

           largest = value; //hold value in largest variable

   }

   sum = sum - largest - smallest;  // use sum to decrease the sum largest & smallest value

   return (sum / (nums.size() - 2)); //use return keyword for return average value

}

Explanation:

In the question, data is missing, that's why the full question is defined in the attached file please find it.

In the given code a method "centeredAverage" is used that accepts an array in its parameter and inside the method, if block is used that checks the cash value if it is true, it will return a float value.

In the next step, two integers and one double variable is defined, that use the conditional statement for check hold value in its variable and at the last use return keyword for return average value.

Which symbol is present on the home row of the keyboard?
A.
apostrophe
B.
question mark
C.
comma
D. period

Answers

Answer:

the answer is A. an apostrophe

Answer:

A I took the test

Explanation:

The most secure form of encryption is referred to as

WEP.

WPA.

ISP.

RFID.

Answers

Answer:

the answer is b. WPA

Explanation:

Answer:

WPA

Explanation:

Write a method called priceIsRight that mimics the guessing rules from the game show The Price is Right. The method accepts as parameters an array of integers representing the contestants’ bids and an integer representing a correct price. The method returns the element in the bids array that is closets in value to the correct price without being larger than that price. For example, is an array called bids stores the value {200, 300, 250, 1, 950, 40} the call of priceIsRight(bids, 280) should return 250, since 250 is the bid closets to 280 without going over 280. If all bids are larger than the correct price, your method should return -1.

Answers

Answer:

Here is the method :

public static int priceIsRight(int[] bids, int correctPrice) { /*definition of method priceIsRight that accepts as parameters an array of integers representing the contestants’ bids and an integer representing a correct price */

   int nearest = -1;  //initializes the closest value to -1

   for(int i = 0; i < bids.length; i++) { //iterates through the bids array until length of the bids array reaches

       if(bids[i] <= correctPrice && bids[i] > nearest) //checks the element of the bids array that is closest (nearest) in value to the correct price without being larger than that price

           nearest = bids[i];    }    //sets that element of bids at index i which is closest to correcPrice to nearest variable

   return nearest; } //returns the element in the bids array that is nearest in value to the correctPrice

Explanation:

To check the working of the above method you can call this function in main()

public static void main(String[] args) { //start of main function    

    int[] bids = {200, 300, 250, 1, 950, 40}; //declares and array and assigns elements to it

    System.out.println(priceIsRight(bids,280)); } } //calls priceIsRight method by passing the bids array and 280 as correct price

The method works as follows:

Suppose we have an array called bids with elements {200, 300, 250, 1, 950, 40}

nearest = -1

correctPrice = 280

The for loop for(int i = 0; i < bids.length; i++) works as follows:

At first iteration:

i = 0

i< bids.length is true because i=0 and bids.length = 6

so program control moves inside the loop body:

if(bids[i] <= correctPrice && bids[i] > nearest) this if statement becomes:

if(bids[0] <= correctPrice && bids[0] > nearest)

This if condition has two parts and it uses && AND logical operator between them so both of the conditions should hold  for the if condition to evaluate to true.

bids[0] <= correctPrice

the element at 0-th index of bids array is 200 and correctPrice= 280 So 200 is less than 280. This part of if condition is true.

bids[0] > nearest

the element at 0-th index of bids array is 200 and nearest = -1. So 200 is greater than -1. Hence this part of if condition is also true.

Hence both the parts of the if statement are true and if condition evaluates to true. So the program control moves to the statement:

nearest = bids[i];

This becomes:

nearest = bids[0]

nearest = 200

At second iteration:

i = 1

i< bids.length is true as i=1 and bids.length = 6

so program control moves inside the loop body:

if(bids[1] <= correctPrice && bids[1] > nearest) this if statement becomes:

if(bids[1] <= correctPrice && bids[1] > nearest)

bids[1] <= correctPrice

the element at 1st index of bids array is 300 and correctPrice= 280 So 300 is greater than 280. This part of if condition is false.

So the if condition evaluates to false. So the value of nearest remains the same.

nearest = 200

At third iteration:

i = 2

i< bids.length is true as i=2 and bids.length = 6

if statement becomes:

if(bids[2] <= correctPrice && bids[2] > nearest)

bids[0] <= correctPrice

the element at 2nd index of bids array is 250 and correctPrice= 280 So 250 is less than 280. This part of if condition is true.

bids[2] > nearest

the element at 2nd index of bids array is 250 and nearest = 200. So 250 is greater than 200. Hence this part of if condition is also true.

Hence  if condition evaluates to true. So the program control moves to the statement:

nearest = bids[i];

nearest = bids[2]

nearest = 250

At fourth iteration:

i = 3

i< bids.length is true because i=1 and bids.length = 6

if statement becomes:

if(bids[3] <= correctPrice && bids[1] > nearest)

bids[3] <= correctPrice

the element at third index of bids array is 1 and correctPrice= 280 So 1 is less than 280. This part of if condition is true.

bids[3] > nearest

the element at 3rd index of bids array is 1 and nearest = 250. So 1 is less than 200. Hence this part of if condition is false. So value of nearest remains the same

nearest = 250

At fifth iteration:

i = 4

i< bids.length is true because i=4 and bids.length = 6

if statement becomes:

if(bids[4] <= correctPrice && bids[4] > nearest)

bids[4] <= correctPrice

the element at 4th index of bids array is 950 and correctPrice= 280 So 950 is greater than 280. This part of if condition is false.

So the if condition evaluates to false. Hence

nearest = 250

At sixth iteration:

i = 5

i< bids.length is true because i=5 and bids.length = 6

so program control moves inside the loop body:

if statement becomes:

if(bids[5] <= correctPrice && bids[5] > nearest)

bids[5] <= correctPrice

the element at fifth index of bids array is 40 and correctPrice= 280 So 40 is less than 280. This part of if condition is true.

bids[5] > nearest

the element at 5th index of bids array is 40 and nearest = 250. So 40 is less than 250. Hence this part of if condition is false. So value of nearest remains the same

nearest = 250

Now the loop breaks at i = 6 because i < bids.length condition evaluates to false.

The statement return nearest; executes now. This returns the value of nearest. So this method returns 250.

how is the flower be

Answers

Is there a passage to this? Or maybe an attachment?

Answer:

healthy cause they need water and sunshine

How does pharming work?

Answers

Answer:

Pharming, on the other hand, is a two-step process. One, cybercriminals install malicious code on your computer or server. Two, the code sends you to a bogus website, where you may be tricked in providing personal information. Computer pharming doesn’t require that initial click to take you to a fraudulent website.

Explanation:

what are the Technologies in regarding of communication technology? Please help me I'll rate you as brainliest!​

Answers

Answer:

Internet, multimedia, email and many more.

Explanation:

Communications technology, refers to all equipment and programs that are used to process and communicate information.

Communication Technology includes the Internet, multimedia, e-mail, telephone and other sound-based and video-based communication means.

Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (class A, B, C and D). P1 with a clock rate of 3GHz and CPIs of 3, 2, 1, 4, and P2 with a clock rate of 2.5GHz and CPIs of 2, 2, 2, 2.Processor Class A Class B Class C Class DP1 3 2 1 4P2 2 2 2 2Given a program with a dynamic instruction count of 1.0E5 instructions divided into classes as follows: 10% class A, 30% class B, 40% class C, and 20% class D.1. Which implementation is faster?2. What is the global CPI for each implementation?3. Find the clock cycles required in both cases?

Answers

Answer:

Follows are the solution to this question:

Explanation:

The architecture of two separate iterations with the same the instruction set can be defined in the attached file please find it.

Calculating the value of total instruction count:

[tex]= 1 \times 10^{5} \\\\= 10^5[/tex]

[tex]\text{P1 clock rate} = 3 \ GHz \\ \\\text{P2 clock rate} = 2.5 \ GHz \\\\\text{Class Division: 10 \% of class A,} \text{30 \% of class B, 40 \% of class C, 20 \% of class D} \\\\[/tex]

In point a:

Calculating P1 device mean CPI:

[tex]Average CPI = \frac{summation \times instruction \ count \times CPI}{total \ instruction \ count}\\[/tex]

[tex]= (10^5 \times 10 \% \times 3 + 10^5 \times 30 \% \times 2 + 10^5 \times 40 \% \times 2 + 10^5 \times 20%[/tex] [tex]\times 4) \times \frac{1} {1 \times 10^5}\\\\[/tex]

[tex]= \frac{(3 \times 10^4 + 6 \times 10^4 + 8 \times 10^4 + 8 \times 10^4)}{1 \times 10^5}\\\\ = \frac{25\times 10^4}{1 \times 10^5}\\\\= 2.5[/tex]

Estimating P2 device Average CPI:

[tex]= (1 \times 10^5 \times 10 \% \times2 + 1 \times 10^5 \times 30 \% \times 2 + 1 \times 10^5 \times 40 \% \times 2 + 1 \times 10^5 \times 20 \%[/tex][tex]\times 2) \times \frac{1}{ 1 \times 10^5}[/tex]

[tex]= \frac{(2 \times 10^4 + 6 \times 10^4 + 8 \times 10^4 + 4 \times 10^4)}{1 \times 10^5} \\\\= \frac{20 \times 10^4}{1 \times 10^5} \\\\= 2 \\[/tex]

[tex]\text{Execution time} = \frac{\text{instruction count} \times \text{average CPI}}{clock rate}}[/tex]

[tex]= \frac{1 \times 10^5 \times 2.5}{3} \ GHz \\\\ = \frac{1 \times 10^5 \times 2.5}{3 \times 10^9} \ sec \ as \ 1 \ GHz \\\\ = 10^9 \ Hz \\\\= 0.083 \ msec \ as \ 1 \ sec \\\\ = 10^3 \ msec[/tex]

Calculating processor execution time P2:

[tex]= \frac{1 \times 10^5 \times 2}{2.5} \ GHz \\\\= \frac{1 \times 10^5 \times 2}{2.5 \times 10^9} \ sec \ as\ 1 \ GHz \ = 10^9 \ Hz \\\\ = 0.080 \ msec \ as \ 1 \ sec \\\\ = 10^3 \ msec[/tex]

Since P2 is less than P1 for processor execution time, P2 is therefore faster than P1.

In point b:

Global processor P1 CPI = 2.5  

Global processor P2 CPI = 2

In point c:

Finding Processor P1 clock cycles:

[tex]\text{Clock cycle = instruction count} \times \text{average CPI}[/tex]

[tex]= 1 \times 10^5 \times 2.5 \\\\ = 2.5 \times 10^5 \ cycles[/tex]

Finding Processor P2 clock cycles:

[tex]\text{Clock cycle = instruction count} \times \text{average CPI} \\\\[/tex]

                  [tex]= 1 \times 10^{5} \times 2\\\\ = 2 \times 10^{5} \ cycles\\\\[/tex]

Based on the unit content and your own ideas, how would you define a video game in your own words? What separates a regular video game from a “good” video game and explain how immersion is a factor. How would you determine whether a game succeeds or fails in its objectives

Answers

Answer:

A video game would be a series of steps to produce or outcome / end in the form of controller a character or the how the game can be played and being able to play it at some level, but a good game would have multiple questions and a hard difficulty maybe even a customizable section for your character or object. In other words a Video game would be a series of steps to produce a outcome from controlling a character and a Good video game would be the same but added a level of difficulty and harder mechanics into the game.

Explanation:

Hope this helped :)

Answer:

To start, the core aspects of a Good game are goals and actions, rules, and challenges, without these the game would not be very good. The challenges of the game should be the perfect balance between too hard and easy so that the player doesn’t rage quit, but also doesn’t quit because there basically is no challenge. A good game should be simple to learn, but hard to master, to keep players playing for a long time. A good game also has a lot of content to allow for countless hours of gameplay. determine whether a game succeeds or fails in its objectives by judging them individually to see if it all makes up a good game.

A public Wi-Fi risk that can be minimized by only visiting encrypted sites with an HTTPS indicator is: *
Junk Mail
Rogue Public Wi-Fi
Harmful Software Attacks
Snooping

Answers

Answer: Harmful software attacks is the answer

Explanation:

Who PLAYS Apex Legend?

Answers

Answer:

me

Explanation:

Answer:

me :)

Explanation:

java Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. Thus, I-405 services I-5, and I-290 services I-90. Given a highway number, indicate whether it is a primary or auxiliary highway. If auxiliary, indicate what primary highway it serves. Also indicate if the (primary) highway runs north/south or east/west. Ex: If the input is: 90 the output is: I-90 is primary, going east/west. Ex: If the input is: 290

Answers

Answer:

Here is the JAVA program:

import java.util.Scanner;  // to accept input from user

public class Main{  // class name

  public static void main(String[] args) { // start of main function

      Scanner input = new Scanner(System.in);  // creates Scanner class object to take and scan input from user

      int highwayNum;  //to hold value of highway number

      int primaryNum;  //to hold value of primary number

      highwayNum = input.nextInt();  //scans and takes input value of highwayNum from user

       

      if(highwayNum<1 || highwayNum>999) //if highway number is less than 1 or greater than 999

          System.out.println(highwayNum+" is not a valid interstate highway number.");  //display this message if above if statement is true

           

      else{  //when above if statement is false

          if(highwayNum>=1 && highwayNum<=99){  //checks if highway number is greater than equal to 1 and less than equal to 99

              System.out.print("I-"+highwayNum+" is primary, going ");

              if(highwayNum%2==0)  //checks for the even highway number

                  System.out.println("east/west.");  //prints this if highway number is even

              else  //if highway number is odd

                  System.out.println("north/south.");    }  //prints this if highway number is odd

                   

          else{ // if auxiliary number

              primaryNum = highwayNum%100;  //computes primary number

              System.out.print("I-"+highwayNum+" is auxillary, serving I-"+primaryNum+", going ");  //displays the auxiliary number and which primary number it is serving

              if(primaryNum%2==0)  //if primary number is even

                  System.out.println("east/west.");  //displays this if primaryNum is even

              else  //when primaryNum is odd

                  System.out.println("north/south."); } }  }}//displays this if primaryNum is odd

Explanation:

I will explain the program with an example:

Suppose user enters 90 as highway number So

highwayNum = 90

if(highwayNum<1 || highwayNum>999)

This if condition evaluates to false because highwayNum is 90 and its not less than 1 or greater than 999.

So else part executes which has an if statement:

if(highwayNum>=1 && highwayNum<=99)

This statement evaluates to true because highwayNum is 90 so it lies between 1 and 99 inclusive. So the statement inside this if condition executes:

System.out.print("I-"+highwayNum+" is primary, going ");

This statement prints the following message on output screen:

I-90 is primary going

Now next statement if(highwayNum%2==0) checks if highwayNum is completely divisible by 2 and is an even number. This takes the mode of highwayNum by 2 and returns the remainder. 90%2 is 0 because 90 is completely divisible by 2 and hence it is an even number. So this if condition evaluates to true and program control moves to the statement:

System.out.println("east/west."); which prints east/west on the output screen. Hence the output of the entire program is:

I-90 is primary, going east/west.

Screenshot of the program along with its output is attached.

Which statements are true about conditional statements? Check all that apply. They perform actions or computations. They are based on conditions. They can be executed only when conditions are false. They are also called conditional constructs. They are sometimes called compound statements, They have conditions that must be Boolean (IF, AND, or NOT) in form. DONE​

Answers

Answer:they perform actions

They are based on conditions

They are also called conditional statements

They have conditions

Explanation:

The statements which are true about conditional statements are as follows:

They perform actions or computations. They are based on conditions.They are also called conditional constructs.They have conditions that must be Boolean (IF, AND, or NOT) in form.

Thus, the correct options for this question are A, B, D, and F.

What do you mean by Conditional statements?

The Conditional statement may be defined as a type of declaration that can significantly be written in the form “If P then Q,” where P and Q are sentences. For this conditional statement, P is known as the hypothesis while Q is called the conclusion.

According to the context of this question, conditional statements always manufacture actions or computations. They never execute when conditions are false. That's why they are referred to as conditional statements. They also possess conditions based on Boolean (IF, AND, or NOT).

Therefore, the correct options for this question are A, B, D, and F.

To learn more about Conditional statements, refer to the link:

https://brainly.com/question/1542283

#SPJ2

The is context sensitive, meaning it will display options that relate to an active tool.

Answers

Answer:

Option bar

Explanation:

The Options Bar seems to be the parallel bar in photo editing software that operates under it's main menu. You will use the Software panel to turn it on and off, but if you're not seeing it on your phone, you probably want Software > Settings to power it on. The role of the Options Bar is to customize the tool settings when you're about to use.

Answer:

(A) The ribbon

Explanation:

What is an accurate definition of experience?

Answers

Answer:

I hope this helps

Explanation:

An accurate definition of experience might be a process of observing, encountering, or undergoing something. Experience can help your knowledge or practical wisdom gained up because of what one has observed, encountered, or undergone.

In Outlook 2016, what are the three format options when sending an email message? Check all that apply.

bold
quick style
plain text
rich text
HTML
basic text

Answers

Plain text, HTML, and rich text.

Answer:

C: plain text

D: rich text

E: HTML

Consider the following method.
public double secret(int x, double y) { return x/2.0; }
Which of the following lines of code, if located in a method in the same class as secret, will compile without
error?
int result = secret(4, 4);
double result = secret(4.0, 4);
int result = secret(4, 4.0);
double result = secret(4.0, 4.0);
double result = secret(4, 4.0);

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

Consider the following method.

public double secret(int x, double y)

{

return x/2.0;

}

The return type of this function is double, so where it will store the result in a variable, that variable should be of double type. So, among given options, the correct option is double result = secret(4, 4.0);

All others options are incorrect and will give the error.

for example:

int result = secret(4, 4);

in it, the function secret is accepting first integer and second double parameters, while you are passing all integer variables.

int result = secret(4, 4.0);

you are not allowed to store double value into integer.

double result = secret(4.0, 4.0); in it you are passing incorrect types of parameter.

Other Questions
HELP ME PLZZ I NEED HELP WITH THIS !!!! The elevations of four locations are shown in the table, which statement is true Name this property illustrated by this equation. 3 + (4+5) = (3+4) + 5 Using the following prices, calculate the unit price to determine how much it would cost for 5 containers of yogurt and 3 containers of applesauce. $4.29 for 6 containers of yogurt $3.39 for 8 containers of applesauce a. $4.39 b. $4.85 c. $6.41 d. $7.68 Over the last 6 months, Josh wrote 6 checks for a total of $702 to pay his phone bill. His phone bill is the same amount each month. What was the change in Joshs bank account balance each month after paying his phone bill?A) $117 B) $702 C) $117 D) $702 The crust and the outer mantle make up what part of the Earth's interior? Question 4 options: Lithosphere Athenosphere Stratosphere Magnetosphere I dont understand this one bit plz answer evaluate 6*7-3^2*9+4^3 ______ Is the degree of exactness of a measurement; _____ Describes how well the results of measurement agree with the real valueA: accuracy, precisionB: Percision, accuracy C: accuracy, the line of best fitD: Percision, the line of best fit The answer selected is wrong, so i need help asap :( Can someone help me ? I need enough information for a complete sentence The question is: What Factor would cause Location F to have a colder yearly climate than any other location Jamal's goal is to raise $600 for the food bank. So far, he has raised $267. How much more does he need to reach his goal? 20 POINTS! ASAP PLS! Show work!! PLEASE HELP ASAPP SHOW UR WORK ill mark brainliest!! The population of Wakanda increases by 9% yearly. What will their population be after 10 years? What does internal mean Someone help me with this please ? HELP ME PLZZ I DONT KNOW THIS what is 2 * 3 ^ 2 - 1 One week, Ellie earned $72.50 at her job when she worked for 5 hours. If she is paid the same hourly wage, how many hours would she have to work the next week to earn $232.00?