subject

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;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:20
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
Most computers today support the standard, in which the computer automatically configures new devices as soon as they are installed and the pc is powered up.
Answers: 1
You know the right answer?
Write a main procedure to call the function peno (& x, n, sp, sn) to verify your design using th...
Questions
question
Physics, 04.02.2020 06:46
question
Mathematics, 04.02.2020 06:46
Questions on the website: 13722360