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
KATRIN_1 [288]
1 year ago
6

Define a function Output Value() that takes two integer parameters and outputs the sum of all negative integers starting with th

e first and ending with the second parameter. If no negative integers exist, sum is 0. End with a newline. The function does not return any value. Ex: If the input is -7 1, then the output is: -28 Note: Negative numbers are less than 0.
Computers and Technology
1 answer:
hoa [83]1 year ago
4 0

The function is written in C++ programming language and is be displayed below:

long OutputVal(int start, int end) {

 long result = 1;

 for (int num = start; num <= end; num++) {

   result *= num;

 }

 return result;

}

The program defines a function Output Value(), takes two integer parameters, and outputs the sum of all negative integers starting with the first and ending with the second parameter.

Read more about C++ here:

brainly.com/question/20339175

#SPJ1

You might be interested in
IN C++
Natali [406]

Answer:

I only do Design and Technology

sorry don't understand.

4 0
3 years ago
When choosing a new computer to buy, you need to be aware of what operating _____ a0 it uses.
Alla [95]

System?

ddfdfdfdfdfdddddddddddddddddddddddddddddddddddd

8 0
2 years ago
In this exercise, you will write a class that represents how you spend your time during the week The class should have four doub
Nuetrik [128]

Answer:

Answered below

Explanation:

# Program is written in Java

class WeekHours{

double school;

double fun;

double sleep;

double sports;

WeekHours( ){

school = 0.0;

fun = 0.0;

sleep = 0.0;

sports = 0.0;

}

public void setSchool ( double x){

school = x;

}

public void setFun( double y){

fun = y;

}

public void setSleep( double w){

sleep = w;

}

public void setSports( double z){

sports = z;

}

public void totalHours(){

double tHours = school + fun + sleep + sports;

System.out.print(tHours);

}

}

4 0
3 years ago
Which of these is an example of an input?
boyakko [2]

Answer:

typing on a key board

this is the best Ans.

8 0
2 years ago
Will a debit card still work if i put stickers on it?
laiz [17]

Answer:

Explanation:

Yes, it may still be readable, but if they refuse to take it you have no ground to stand on. (If you obscure the signature, at least make sure the CVV is readable or reprinted on top.) The plastic covering should not interfere with the mag stripe.

8 0
3 years ago
Read 2 more answers
Other questions:
  • Using features on demand results in saving potentially significant amounts of disk space. features on demand becomes a third ins
    14·1 answer
  • Most Microsoft Windows fatal errors (blue screen of death) are caused by:
    14·1 answer
  • Which of the following could not be represented by columns in the SPSS data editor? a. Levels of between-group variables. b. Lev
    11·2 answers
  • Which of the following people was a member of FFA?
    7·1 answer
  • An IT professional with a customer-service
    13·1 answer
  • When using correct ergonomic technique be sure to _____.
    11·2 answers
  • What would be used by a business to assess how the business is working within its organization goals? O A. Information systems B
    8·1 answer
  • List six features of the Microsoft ​
    10·1 answer
  • A company database needs to store information about employees (identified by ssn, with salary and phone as attributes), departme
    7·1 answer
  • What is Frederick Taylor attributed to doing
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!