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]
4 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]4 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
Compare and contrast the features of the four computer career fields. Write a paragraph on each and specify how the four career
tresset_1 [31]

Answer:

don`t know

Explanation: help me

7 0
4 years ago
Handhed computer is otherwise called as<br> 1.laptop<br> 2.Notebook<br> 3.Palmtop
NikAS [45]

Answer:

personal digital assistants (PDAs)palmtop

3 0
3 years ago
Summarize how the components of health are related to wellness ​
Valentin [98]
Physical wellness indicates a high level of endurance, flexibility and strength... Mental and emotional wellness focuses on an acceptance and agreement with ones emotions and feelings.
9 0
4 years ago
Must be at least 6 characters and contain at least one letter, one number and one special character. whats a good password? ive
Kamila [148]
Things about you or your favourite specialities
3 0
3 years ago
3. Do some Internet research on the use of VLANs in hospitals. Summarize the benefits of using VLANs in hospitals and identify e
motikmotik

VLAN refers to Virtual Local Area Network. It is a subnetwork that can group together collection of devices on separate physical Local Area Networks. VLANs allow network administrators to group hosts together even if the hosts are not directly connected to the same network switch.

Considering the large number of departments in hospitals, with each departments having functions different from the others, Virtual LANs allows various users(the departments) to be grouped together according to their networking needs, regardless of their actual physical locations. Subdividing the LAN into smaller segments, or VLANs, increases overall reliability, security, and performance, and makes the network easier to maintain.

Because of the largeness of St. Luke's hospitals and their mission of delivering highly reliable and feature-rich advanced network solutions, virtual LAN will help to provide a resilient and scalable network solution within the hospital's budget.

St. Luke should implement virtual LAN that can produce a higher bandwidth with lower-cost, a longer-term model based on servers, networking products and homogenous network components to deliver centralized management of computing across the hospital network.

5 0
4 years ago
Read 2 more answers
Other questions:
  • In the receiving computer, UDP receives a datagram from the __________ layer.
    15·1 answer
  • You have observed that it is possible that some of your organization's projects may end up having little or no value after they
    11·1 answer
  • How do assembly language different from machine language?
    15·1 answer
  • InJava garbage collection is done by_______________JVM (Java VirtualMachine)ProgrammerBoth JVM (Java Virtual Machine)and Program
    9·1 answer
  • A program to that would accept the length and width of a rectangle and display the results​
    14·1 answer
  • Write the simulate method, which simulates the frog attempting to hop in a straight line to a goal from the frog's starting posi
    10·1 answer
  • Favorite friends character and why GO!
    8·2 answers
  • Que papel tuvo la innovación en la propagación de la telefonía móvil?​
    7·1 answer
  • What is a presentation program? Name any<br> presentation programs.
    10·1 answer
  • class Login: def __init__(self): self.login_name = 'none' self.login_password = 'none' # TODO: Define class method - check_crede
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!