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
adell [148]
3 years ago
11

Write a function addOne that adds 1 to its integer referenceparameter. The function returns nothing.

Computers and Technology
1 answer:
Alekssandra [29.7K]3 years ago
5 0

Answer:

void addOnefunction(int referenceparameter){

   

   referenceparameter = referenceparameter + 1;

}

Explanation:

The function is the block of the statement which performs the special task.

Syntax:

type name(parameter_1, parameter_2,...){

     statement;

}

first, we define the return type of the function like int which return an integer value, a float which returns decimal value or void which returns nothing.

then, define the parameters in the function which takes the value from the calling function and then we can use that parameter in the statement.

we can define any one of the parameters, there is no restriction for define the parameter.

we create the function addOnefunction which return is void and declare the one parameter referenceparameter, integer type.

then, add the parameter with 1 and store in the same parameter.

For adding, we can use the operator '+'.

like,

 referenceparameter = referenceparameter + 1;

You might be interested in
Which slide elements must Claire use to enhance her presentation?
Alja [10]
She needs to use animations to enhance her presentation
8 0
2 years ago
What are the qualities of different products that caught your eye and encourage you to buy them​
Ivan

Answer:

The qualities of different products that caught your eye and encourage you to buy them​ is described below in detail.

Explanation:

A fantastic method to do this would be to practice shiny colors in any advertisement you publish. This is an old method, but it's a great one. Glowing orange, for example, is sure to hold watching much higher than bland shades like gray. Play throughout here, and apply the color you think illustrates the eye most.

8 0
3 years ago
How do you find the exterior angle measure of any regular polygon? (The degree in which to turn the turtle to draw a shape)
Diano4ka-milaya [45]

Answer:

360/number of sides

Explanation:

all the exterior angles add up to 360°

so to find each angle mesure, divide the 360 by the number of sides the figure has.

7 0
3 years ago
What are movies filmed before 1990's?
natita [175]

Answer: Once Upon a Time in the West (1968) PG-13 | 165 min | Western. ...

Cinema Paradiso (1988) R | 155 min | Drama. ...

Blade Runner (1982) R | 117 min | Action, Sci-Fi, Thriller. ...

2001: A Space Odyssey (1968) G | 149 min | Adventure, Sci-Fi. ...

Apocalypse Now (1979) ...

Chinatown (1974) ...

Stardust Memories (1980) ...

Le Notti Bianche (1957)

Explanation:

8 0
3 years ago
Select the data type for each example below. <br> Possible answers<br> -Int<br> -float <br> -string
Veseljchak [2.6K]
Float string int
I hope my answer helps.
6 0
2 years ago
Other questions:
  • Which is a feature of a strong thesis statement?
    8·1 answer
  • Serveral cheetas are growling at each other while hunting for animals.for which need are they competing?
    14·1 answer
  • A technician is using a network-attached desktop computer with a Type 2 hypervisor to run two VMs. One of the VMs is infected wi
    14·1 answer
  • is used to reduce the chance of an individual violating information security and breaching the confidentiality, integrity, or av
    6·1 answer
  • Disadvantages of computer. ​
    9·1 answer
  • 75 pts. Conduct online research about 10 of the most famous and dangerous computer viruses that threatened computer networks aro
    13·1 answer
  • CALLING ALL DEKUS UWU
    15·2 answers
  • Most of the internal operations in a computer use hexagonal numbering true or false
    13·1 answer
  • The ratio of sparrows to bluejays at the bird sanctuary was 5 to 3 If there were 15 bluejays in the sanctuary, how many sparrows
    12·1 answer
  • security investigators discovered that after attackers exploited a database server, they identified the password for the sa acco
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!