Computers and Technology

Write a main procedure to call the function peno (& x, n, sp, sn) to verify your design using the following data set int x ={-1,2,-3,4,5,6,-7,-8}, and print the sum of the positive values and negative values in x as below .
cout < < "\nthe sum of the positive values is";
cout < < v0;
cout < < "\nthe sum of the negative values is";
cout < < v1;

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 17:00, kyleemarie2003
Companies that implement and apply an information system effectively can create
Answers: 1
image
Computers and Technology, 23.06.2019 19:30, sallybob0
What are loans to a company or government for a set amount of time
Answers: 1
image
Computers and Technology, 25.06.2019 08:20, Maxwell2539
The process of representing data in digital form so it can be used by a digital computer is called decimal byterepresentation. - true or false
Answers: 3
image
Computers and Technology, 25.06.2019 12:00, keaton846
Bachelor’s degrees are typically earned in a. 1-2 years b. 2-3 years c. 3-4 years d. 4-5 years
Answers: 1
Do you know the correct answer?
Write a main procedure to call the function peno (& x, n, sp, sn) to verify your design using th...

Questions in other subjects:

Konu
Mathematics, 01.04.2020 19:33