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
cupoosta [38]
3 years ago
13

What mistake is in the following code?

Computers and Technology
1 answer:
scoundrel [369]3 years ago
7 0
5. The double should be changed to void.

It says public static DOUBLE mystery()

this means that the method should RETURN A DOUBLE

but the method doesn't. If you change it to void so it looks like

public static void mystery()

then it'll be okay.
You might be interested in
30 POINTS FOT THE ANSWER FAST
sasho [114]

The industry I chose is the fashion industry and how web design has made an impact on that industry are:

  • It often impact the visual style of cloths.
  • It has helped in making of nice and good cloth design.
  • It aid in design and visual effect of its product.

<h3>What is the impact of web design?</h3>

Web design is known to be a key  parts of Internet marketing strategy as it helps in digital customer experience in a lot of ways.

The skill needed are:

  • Visual design
  • The use of Design software.
  • HTML.
  • JavaScript, etc.

Therefore, The industry I chose is the fashion industry and how web design has made an impact on that industry are:

  • It often impact the visual style of cloths.
  • It has helped in making of nice and good cloth design.
  • It aid in design and visual effect of its product.

Learn more about  fashion industry  from

brainly.com/question/27318787

#SPJ1

4 0
2 years ago
Create a Racket procedure compute_pos that reads numbers from the keyboard until 0 is read, count how many positive numbers are
Artyom0805 [142]

Answer:

import java.util.Scanner;

public class Solution {

   public static void main(String args[]) {

       compute_pos();

     }

     

     public static void compute_pos(){

     Scanner scan = new Scanner(System.in);

     int sum = 0;

     int counter = 0;

     // Prompt the user to enter an input

     System.out.println("Enter your value");

     // user input is assign to the variable value

     int value = scan.nextInt();

     

     while(value != 0){

         if (value > 0){

             sum += value;

             counter++;

         }

         System.out.println("Enter your value");

         value = scan.nextInt();

     }

     // Display the value of sum to the user

     System.out.println("The sum of the positive number is: " + sum);

     // Display the value of counter to the user

     System.out.println("The number of positive number is: " + counter);

   }

}

Explanation:

The first line import the Scanner class which allow the program to read input from the user. The class Solution is then defined. Then the main method which signify the beginning of execution in the program is defined. A method is called inside the main method.

The method compute_pos is defined. Inside the compute_pos method, a scanner object scan is declared to accept input from the user via the keyboard.

The variable sum and counter is declared and assigned to 0.

A prompt is displayed to the user to input a value. The user input is accepted and stored in the variable value.

Then a while loop is use to check the user input if it is not equal to zero. If it is equal to zero, the loop will end. Inside the loop, we first check to see if the user input is greater than 0, if it is, we add it to the variable sum and increase our counter by 1. At the end of the loop, a prompt is again display to accept input from the user.

Outside the loop, we display the sum and counter to the user.

8 0
4 years ago
____ formatting is automatically updated if you change data in the worksheet.
andriy [413]

Answer:

<u>Conditional</u> formatting is automatically updated if you change data in the worksheet.

Explanation:

Conditional formatting can be described as a tool that allows users to format a particular cell or a group of cells. The formatting also changes for any data being changed in the sheet.

A particular cell can have up to three format conditions and these conditions will be applied automatically to any changes entered in the cell. The conditional formatting also has the option to highlight the important cells.

4 0
3 years ago
3. Maria is in charge of consolidating the names of the participants of the two-day virtual
Lina20 [59]

Answer:

The correct sequence of steps in sorting text is;

III, IV, I and II

Which is option 'C' where the last item is II

C. III, IV, I and II

Explanation:

Sorting is the orderly arrangement of items (data) according to a specified criteria such as arranging a list of items alphabetically or a numerical arrangement of a data collection

Filtering is the selection for display, data that meets a specific condition

To arrange the names of the participants of the two-day virtual seminar alphabetically using MS Excel the sequence of steps are;

1. Select the rows or columns the are to be sorted by using steps for selecting  rows and/or columns

2. Go to the Editing group of the Home Tab ribbon

3. Click on (the down arrow besides) the Sort & Filter command icon to display a drop down menu with options for type of sorting and filtering

4. Choose Sort A to Z to sort the contents of the cell range in increasing alphabetical order

Therefore, the correct sequence of steps are;

III. Select the cell range needed to be sorted

IV. Go to the Editing Styles group of the Home Tab

I. Click the Sort & Filter command. A drop down menu appears

II. Choose Sort A to Z.

The correct sequence is III, IV, I and II.

7 0
3 years ago
একটি ডকুমেন্ট তৈরী করে ড্রাইভে সেভ করার পদ্ধতি বর্ণনা করো
kotykmax [81]

Answer:

To create a document, you have to go into Google Docs and make a new document, and then it automatically saves to Drive for you.

Explanation:

4 0
3 years ago
Other questions:
  • What is the software called that allows the user to create, access, and manage a database? question 8 options:
    10·1 answer
  • Tom is very curious as to whether terrorism is truly linked to levels of religiosity around the world. As such, he gathers data
    15·1 answer
  • What is an example of CT SO?
    9·1 answer
  • Which of the following are incident priorities?
    9·1 answer
  • Having data in a column formatted differently based on value is known as
    7·1 answer
  • Algorithm and flowchart:- find the product of two number (a and b)​
    11·1 answer
  • Who has gotten a random file link from someone? What file does it contain?
    8·2 answers
  • Please answer this question​
    7·1 answer
  • What is a device driver​
    13·2 answers
  • PLSS HELP ASAP ILL GIVE BRAINLIEST THANKS
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!