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
igor_vitrenko [27]
3 years ago
7

6.6 Write a function named timesTen. The function should have an integer parameter named number. When timesTen is called, it sho

uld display the product of number times 10. (Note: just write the function. Do not write a complete program.)
Computers and Technology
1 answer:
kondor19780726 [428]3 years ago
8 0

Answer:

   public static void timesTen(int num){

       int numTimesTen = num*10;

       System.out.println("The number "+num +" times 10 is "+numTimesTen);

   }

Explanation:

In the code snippet above which is written in Java programming language, A method (function) is created. The return type is void since this method according to the question will only give an output and not necessarily return a value.

The methods only int parameter is multiplied by 10

Using string concatenation the following output is given

The number 5 times 10 is 50: For an argument of value 5

You might be interested in
Match the context details with the pattern that applies.
tia_tia [17]

Answer:

1. - Observer

2. - iterator

3. - strategy

4. - composite

5. - decorator

Explanation:

An object contains other objects (elements) and must give access to them for clients, without exposing its internal structure. This is an observation.

The subject-object can generate events as an iterable (iterator) and could use different strategic algorithms to achieve a task. Class objects can be used to aggregate other class objects.

In python, the decorator function mimics the outer function of a nested function, but still maintains the functionality of the second function

6 0
2 years ago
World pade is world processing software true or false​
Evgesh-ka [11]

Answer:

yes

Explanation:

5 0
2 years ago
he timing device in an automobile’s intermittent wiper system is based on an RC time constant and utilizes a 0.500-μF capacitor
Tatiana [17]

Answer:

4000k-ohm to 10,000k-ohm

Explanation:

As we know that time constant for an RC circuit is t=RC

Putting the values of t we can get the range of varaiable resistor as;

t=RC

Putting t=2 we get the first value of the range for the variable resistor

2=R*0.500*10^-6

R=2/(0.500*10^-6)

R=4*10^6

R=4000k-ohm

Now putting t=5 we get the final value for the range of variable resistor

t=RC

5=R*0.500*10^-6

R=5/(0.500*10^-6)

R=10*10^6

R=10,000k-ohm

So variable resistance must be made to vary in the range from 4000k-ohm to 10,000k-ohm

5 0
3 years ago
What's wrong with SontungMTP's song?
Anettt [7]

Answer:

A

Explanation:

7 0
2 years ago
Read 2 more answers
I know that this will be taken down for not being a real question but is anyone else not able to search for anything? I can type
Schach [20]

Answer:

Sameee

Explanation:

6 0
2 years ago
Other questions:
  • HELPPP ASAPP
    8·2 answers
  • A(n) ________ software installation enables you to decide which features you want to install on the hard drive. Select one: A. f
    10·1 answer
  • How do online note-taking tools support students’ academic goals? Check all that apply.
    9·2 answers
  • What are two examples of management information systems?
    12·1 answer
  • Give your own example of a nested conditional that can be modified to become a single conditional, and show the equivalent singl
    12·1 answer
  • Write a program that uses an initializer list to store the following set of numbers in an array named nums. Then, print the arra
    10·2 answers
  • Can find error , suppose to print what season it is and if fails : Traceback (most recent call last):
    11·1 answer
  • Read the following scenario. How might Sarah correct successfully complete her task?
    6·1 answer
  • Which is a benefit of peer-to-peer networking?
    12·1 answer
  • 1.Which of the serves as the basis for determining whether an object has moved or not?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!