1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
aivan3 [116]
3 years ago
10

Consider the following code: x=9 y = -2 z=2 print (x + y * z) What is output?

Computers and Technology
1 answer:
Goryan [66]3 years ago
3 0

Answer:

14

Explanation: The reason why is because adding a negative is pretty much subtracting by 2. 9-2=7. Then multiply 7 by 2 like add 7 to 7 and you get 14.

You might be interested in
I need names for an anime and powers so plz make then unique
Olegator [25]
Make your own name for your anime and your own powers it’s really not that hard bud
5 0
3 years ago
Write a program that reads numbers from the user until a blank line is entered. Your
ddd [48]

Answer:

nums = []

while True:

   in = input()

   if in:

       nums.append(in)

   else:

       break

if nums:

   avg = sum(nums) / len(nums)

   for i in range(len(nums)):

       if nums[i] == avg:

           print(f"index: {i+1}")

           print(nums[i])

else:

   print(-1)  # if there aren't any values in nums

Explanation:

Assuming that you are coding in Python 3x. The last 'else' statement is an edge case that you might want to consider, I don't know what you want to put there, but I'm just going to leave it as -1.

5 0
3 years ago
What is Adobe Dreamweaver ? What is it used for ? Name and describe its major components and features in detail​
Tamiku [17]

Answer:

Part A

Adobe Dreamweaver is a computer application used for building websites and other types of web development, as well as mobile content development for both the intranet and the internet, on the Apple OS X and Windows Operating System Platforms

Part B

Adobe Dreamweaver is used for designing, building, and coding websites and mobile contents by developers and designers and by mobile content developers

Part C

i) Adobe Dreamweaver allows rapid flexible development of websites

The simplified engine on which Adobe Dreamweaver is based makes it easy to adapt web standards including CSS, and HTML for personalized web projects, thereby aiding learning of the web standards and fast (timely) web development

ii) The time between starting development and deployment is shorter when using Adobe Dreamweaver due to the availability of customizable templates that serve wide range of user web interfaces, including e-commerce pages, newsletters, emails and blogs

iii) Building of websites that adapts to the screen size of the device from where the site is accessed is possible with Adobe Dreamweaver

Explanation:

8 0
3 years ago
Give three reasons why you think ETL functions are mostchallenging in data warehouse environment.
adell [148]

Answer:

Because of the nature of the source systems ETL functions are challenging.Reasons are as following:-

1. There are various source systems are very  and contrasting.

2. There is usually a requirement to deal with source systems on different platforms or Operating Systems.

3. Quality of data is uncertain in many old source systems that have developed gradually over time.

5 0
3 years ago
write a program that takes 10 numbers as input and displays the mode of the numbers using parallel arrays and a method that take
irina [24]

Answer:

The Java program is explained below

Explanation:

public class ArrayMode {

  public static int mode(int arr[]) {

      int maxValue = 0, maxCount = 0;

      for (int i = 0; i < arr.length; ++i) {

          int count = 0;

          for (int j = 0; j < arr.length; ++j) {

              if (arr[j] == arr[i])

                  ++count;

          }

          if (count > maxCount) {

              maxCount = count;

              maxValue = arr[i];

          }

      }

      return maxValue;

  }

  public static void main(String args[]) {

      int arr[] = { 9, 5, 3, 8, 5, 12, 19, 5, 11 };

      System.out.println("The set of numbers are: ");

      for (int i = 0; i < arr.length; i++)

          System.out.print(arr[i] + " ");

      System.out.println("\nThe mode of the set is: " + mode(arr));

  }

}

4 0
4 years ago
Other questions:
  • In the spreadsheet example shown in chapter 5 ____ run from top bottom and are designated by a letter?
    12·2 answers
  • Different between ocular and compound miscroscope
    13·1 answer
  • How can a chart help to display your data? How does one choose the best type of chart to use, and how does one ensure that he or
    12·1 answer
  • Explain the difference between general-purpose and specialized applications. Also discuss the common features of application pro
    11·1 answer
  • In the MOV instruction both operands i.e. source andthe destination cannot be
    15·2 answers
  • After reading passage “the incredible machine” why do you think the article has been titled so?
    13·1 answer
  • Your marketing director at ABC Marketing Agency would like to set up an email campaign that will use personalization to referenc
    5·1 answer
  • You are in the windows power shell window and decide to encrypt folder which of the following command do you use
    7·1 answer
  • What is the best way to use copyrighted material?
    14·2 answers
  • CALLING ALL COMPUTER SCIENCE LOVERS!!!!!!!
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!