For a set of integers stored in an array,calculate the sum of the positive numbers and the sum of the negative numbers. The program should store these numbers in memory variables: positiveSum and negativeSum. Numbers should be read from the array one at a time with a zero value (0) being used to signal the end of data (the zero value is acting as a "sentinel" value).

Answers

Answer 1

Answer: The c++ program to implement the given conditions is shown below.

#include <iostream>

using namespace std;

int main()

{

// used as index of array in the loop for calculating the sum

   int i=0;

// array contains both negative and positive integers

// 0 is used as the sentinel value

   int arr[12]={-9,-8,-3,-12,-78,-10,23,45,67,1,0};

   int positiveSum=0, negativeSum=0;

   do

   {

       if(arr[i]<0)

           negativeSum = negativeSum + arr[i];

       if(arr[i]>0)

           positiveSum = positiveSum  + arr[i];

// after every element is added, index of array represented by i is incremented

       i++;

   }while(arr[i]!=0);

// loop continues till end of array is reached

   cout<<"Sum of positive integers "<<positiveSum<<" and sum of negative integers "<<negativeSum<<endl;

   return 0;

}

OUTPUT

Sum of positive integers 136 and sum of negative integers -120

Explanation: This program declares and initializes an integer array without user input. As mentioned in the question, 0 is taken as the sentinel value which shows the end of data in the array.

   int arr[12]={-9,-8,-3,-12,-78,-10,23,45,67,1,0};

All the variables are declared with data type int, not float. Since, integers can yield integer result only.

The do-while loop is used to calculate the sum of both positive and negative integers using int variable i. The variable i is initialized to 0.

This loop will run till it encounters the sentinel value 0 as shown.

while(arr[i]!=0);

Hence, all the integers in the array are read one at a time and sum is calculated irrespective of the element is positive or negative.

       if(arr[i]<0)

           negativeSum = negativeSum + arr[i];

       if(arr[i]>0)

           positiveSum = positiveSum  + arr[i];

After the element is added, variable i is incremented and loop is continued.

The do-while loop tests positive and negative integers based on the fact whether their value is greater than or less than 0.

The program can be tested using different size and different values of positive and negative integers in the array.


Related Questions

ARP only permits address resolution to occur on a single network.could ARP send a request to a remote server in an IP datagram?why or why not?

Answers

Answer:

The answer to this question is Yes it is possible

Explanation:

It can be done In the case where a special server is required in each network that would forward the request to the  remote ARP(Address Resolution Protocol) server and will receive the response from the server and send it to the requesting host.So we conclude that we can do that hence the answer is Yes.

In fiberoptic cable, the signal source is__________waves

1 Infrared

2 Light

3 Radio

4 Very LowFrequency

Answers

Answer: Option - 2) Light

In fiber optic cable, the signal source is light wave.

Explanation: In fiber optic cable the data transmission send information through electronic signal into light wave. When the input data is given in the form of electronic signal, then it gets converted into light signal with the help of light source. As fiber optic is a medium for carrying information in the form of light from one medium to another. Fiber optics are beneficial as it is used in long distance data transmission.

You can tell that the equals() method takes a ____ argument because parentheses are used in the method call.

a.
Boolean

b.
Double

c.
String

d.
Null

Answers

Answer:

c. String

Explanation:

The equals method in java String class takes an object reference as a parameter. We can compare two Strings with the help of equals method of the String class. The equals() method of the java String class compares the given strings based on the content of the string.

Use of the String equals method:-

if (stringOne> stringTwo) it will return a positive value.

if both of the strings are equal lexicographically  means

(stringOne == stringTwo) it will return 0.

if (stringOne < stringTwo) it will return a negative value.

__________ is a growing practice in cooperative farmingassociations to pool and sell the fruit as a common commodity underthe brands of the association rather than to sell the fruit of eachgrower separately.
There
One
It, which
Why

Answers

Answer:

There

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

The Correct and only answer for the sentence given in the question is "There". From the four answers given, "There" is the only answer that makes factual and grammatical sense in the sentence displayed. Therefore it is the correct answer.

** "One" could work if you took out the "is" after it, otherwise it will just be grammatically incorrect. **

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

Two input capture events occur at counts 0x1037 and 0xFF20 of the free-running counter. How many counts, in decimal have transpired between these two events?
A. 25,891
B. 57, 421
C. 61,161
D. 64, 551

Answers

Answer:

The correct answer is C.

Explanation:

You have to do 0xFF20 - 0x1037 but first, you need to convert the counts from hexadecimal base system to decimal base system using this formula:

[tex]N = x_{1} * 16^{0} + x_{2} * 16^{1} + x_{3} * 16^{2} + x_{4} * 16^{3} + ... + x_n 16^{n-1}[/tex], where position of the x₀ is the rightmost digit of the number.

Note:

A = 10.B = 11.C = 12.D = 13.E = 14.F = 15.

0xFF20 = 15*16³+15*16²+2*16¹ = 65312

0x1037 = 1*16³+3*16¹+7*16⁰ = 4151

Result: 65312 - 4151 = 61161

BorderLayout is the default layout manager for a JFrame’scontent pane

?? True

?? False

Answers

Answer:

True

Explanation:

BorderLayout is the default JFrame, JInternalFrame, and JApplet content panel layout manager.Border layout are used to arrange components(such as text fields, buttons, labels etc) in a particular manner.

Example

           public class BorderLayout

            extends Object

         implements LayoutManager2, Serializable

These classes are used for making effective GUI(graphical user interface) in java.

Example for JFrame's content pane-

    JButton button = new JButton("Button click (PAGE_START)");

/*making object JButton with a button name 'click*/

      pane.add(button, BorderLayout.PAGE_START);

/*Adding Border layout in button*/

PAGE_START is BorderLayout constant,there are four more which defines the area-

PAGE_END

LINE_START

LINE_END

CENTER

program for bit stuffing...?

Answers

Answer: Program for bit stuffing in C

#include<stdio.h>

      int main()

    {    

          int i=0,count=0;

          char data[50];

          printf("Enter the Bits: ");

          scanf("%s",data);            //entering the bits ie. 0,1  

          printf("Data Bits Before Bit Stuffing:%s",databits);

          printf("\nData Bits After Bit stuffing :");

          for(i=0; i<strlen(data); i++)

              {

              if(data[i]=='1')

                     count++;

              else

                     count=0;

                printf("%c",data[i]);

             if(count==4)

                {

                          printf("0");

                          count=0;

                 }

             }

    return 0;

 }

Explanation:

bit stuffing is the insertion of non-information bits during transmission of frames between sender and receiver. In the above program we are stuffing 0 bit after 4 consecutive 1's. So to count the number of 1's we have used a count variable. We have used a char array to store the data bits . We use a for loop to iterate through the data bits to stuff a 0 after 4 consecutive 1's.

What are the two categories of problems that we can simply convert
to parallel code?

Answers

percentage and decimals

Write a C++ programme that asks the user to enter his age in days.Calculate then his age in:
Years – Months –Days

1 year = 365 days

1 year = 12 months

1 month = 30 days

Answers

C++ program that asks the user to enter his age in days

#include <iostream>

using namespace std;

void Findage() //Defining function

{

int a=0,d=0, m=0, y=0, r=0;

cout<<"Enter Age in Days= "; //Taking input

cin>>a;

   if(a>365) //If age is greater than 365

{

y=(a)/365;

r=a%365;

if(r>30)

{

m=r/30;

d=r%30;

}

else

{

d=r%30;

}

}

else //if the age is less than 365

{

if(a>30)

{

m=(a)/30;

d=a%30;

}

else

{

d=a;

}

}if(a==365) //Printing output

{ cout<<"Your Age in Calender"<<endl;

 cout<<"Year = 1"<<endl;

}

else

{

cout<<"Your Age in Calender"<<endl;

cout<<"Years= "<<y<<" Month="<<m<<" Days= "<<d<<endl;

}

}

int main()

{

Findage(); //Calling function

return 0;

}

Output

Enter Age in Days= 3697

Your Age in Calender

Years= 10 Month=1 Days= 17

A C++ program can be written to calculate a user's age in years, months, and days by dividing the total number of days provided by the user by 365 to find years and then dividing the remainder by 30 to calculate months, with the final remainder indicating the days.

A C++ program that calculates a user's age in years, months, and days from the age in days can be composed using simple arithmetic operations. Given that 1 year is 365 days, 1 year is 12 months, and 1 month is 30 days, the following process can be followed:

Ask the user for their age in days.

Use the remainder of the previous division to calculate the number of months by dividing by 30.

The remainder of the last division will give the number of days.

The resulting calculations will give the user's age in years, months, and days.

UML uses the________________ diagram to model the flow of procedureor

activities in aclass.

a. Activity b. case

Answers

Answer:

A - Activity

Explanation:

UML contains multiple subdivisions of diagrams which allow you to visualize what the software will do, while activity diagrams demonstrate the process of what happens in the system being modeled. This is why UML uses the activity diagram to model the flow of procedure.

Which of the following statements is false? a. Racks and bins are examples of storage equipment. b. Automation refers to equipment that complements, rather than replaces, human contact. c. Forklifts can be dangerous. d. In a part-to-picker system, the pick location is brought to the picker.

Answers

Answer:

b. Automation refers to equipment that complements, rather than replaces, human contact.

In these kinds of systems, a mechanical device—typically—brings the pick location to the picker. The device's transit time is crucial in part-to-picker systems. Since the proper pick position is automatically offered, the picker's search time is greatly decreased. Thus option B is correct.

What best define about In a part-to-picker system?

Systems for picking orders from warehouses are created to improve picking operations' effectiveness, speed, and accuracy. One or more of these systems can be used by businesses to improve order fulfilment processes in their distribution centres.

In this approach, warehouses set up a space for material handling, where merchandise is frequently moved using forklifts. Additionally, the system has a picking section where order pickers acquire goods to complete customer orders.

Therefore, Automation refers to equipment that complements, rather than replaces, human contact.

Learn more about picker system here:

https://brainly.com/question/23287453

#SPJ5

.When one component modifies an internal data item in anothercomponent we call this:
A.content coupling B.common coupling C.controlcoupling D. all of the above

Answers

Answer:

A. content coupling

Explanation:

When one component modifies an internal data item in another component we call this content coupling.

Write an application that can hold five integers in an array. Display the integers from first to last, and then display the integers from last to first.

Answers

Answer:

Create an integer array which holds five integers

Explanation:

I have written a simple program using c# as a programming language.

Here's  the  program:

using System;

public class Test

{

   public static void Main()

   {

       int[] numbers = new int[5];

       Console.WriteLine("enter 5 numbers");

       for (int i=0; i<=4; i++)

       {

          numbers[i]= Convert.ToInt32(Console.ReadLine());

       }

       foreach(int k in numbers)

       {

           Console.WriteLine(k+ "\n");

       }

       Console.WriteLine("----------------------------");

       Console.WriteLine("In reverse");  

       for(int j=4; j>=0; j--)

       {

           Console.WriteLine(numbers[j] + "\n");

       }

       Console.ReadLine();

   }      

}

Explanation of Program:

I have created an array named "numbers"  and assigned 5 as it's fixed size.

I prompted the user to enter numbers up to 5. I read those input numbers using Console.ReadLine() and converted to integers as return type of  Console.ReadLine() is string. I have stored all inputs from user into an array  while reading as below:

    numbers[i]= Convert.ToInt32(Console.ReadLine());

Next step is to print them. We can do it easily using foreach loop where it pulls out elements from an array until it reaches  end of an array and print them on console.

If I need to print them from first to last, the condition is,

    for (int i=0; i<=4; i++)  

as it needs to start from first element

If I need to print them from last to first, the condition is,

    or(int j=4; j>=0; j--)  

as it needs to start from last element

The application that can hold five integers in an array and display the integer from first to last and last to first is as follows;

integers = [15, 17, 8, 10, 6]

print(integers)

x = integers[::-1]

print(x)

Code explanation:

The code is written in python.

The first line of code, we declared a variable named integers. This integers variables holds the 5 integers.The second line of code, we print the the integers from first to last.The next line of code, we reversed the array from last to first and stores it in the variable x. Then, we print the x variable to get the code from last to first.

learn more on array here:https://brainly.com/question/19587167

Which algorithm makes the most efficient use ofmemory?

Answers

Answer:

Best-fit Algorithm

Explanation:

Best-fit: Allocating the smallest memory location that is greater than or equal to the size of process.

Example

Let these are the memory locations-210kb,310kb,260kb,610kb

                    and size of processes-160kb,450kb,250kb,300kb

For the first-fit,

We allocate 160 kb to the 210kb memory location

Then, we allocate 450 kb to the 610kb because others don't have the size.

Then,we allocate 250kb to the 310 kb.

300 kb will stop,as no memory locations can execute.

For the Best-fit,

We allocate 160 kb to the 210kb memory location

Then,we allocate 450kb to the 610kb.

Then,we allocate 250kb to the  260kb not 310kb according to best-fit.

Then we allocate 300kb to the 310kb.

For the worst fit,

We allocate 160 kb to the 610kb memory location according to the worst-fit algorithm.

Then,we can't allocate 450kb to any memory location.

Then,we allocate 250kb to the 310kb .

We can' allocate 300kb in 260kb memory location.

As we can see from this example that in First-fit algorithm 300kb process will stop as no memory location is there.

In worst-fit algorithm ,We can't allocate 450kb,300kb to any memory locations.

In Best-fit algorithm,we can allocate the process to each location,so this algorithm is using memory in a efficient way.    

Which of the following is NOT areserved word in Java?intpublicstaticnum

Answers

Answer:

num

Explanation:

In java reserved words are also known as keywords, keywords are reserve words for a language that can't be used as an identifier(name of a class, name of a variable, name of an array etc.) int, public static, are reserve words.

In given question num is not a reserved word.

Cash cows are always in

a. Introductory industry

b. Growing industry

c. Mature industry

d. Declining industry

Answers

Answer:

The correct answer is C. Cash cows are always in mature industry.

Explanation:

A cash cow is a company, business area or product that generates a large free cash flow over time. Cash flow depends on the profitability of the company or product, that is, revenues are greater than costs, but also because the surplus is not tied up in the business in the form of working capital.

The cash flow in a company can be used to pay off debt but also as a dividend to owners. An individual product that constitutes a cash cow can help to finance other activities in the company or group.

Unless you explicitly initialize global variables, they are automatically initialized to

_________.

Answers

Answer:

Zero(0)

Explanation:

Global Variables

Variables which are declared outside any function. Any function can use these variables,they are automatically initialized to zero(0).They are generally declared before main() function.

Example- C program for showing global variable is 0.

  #include <stdio.h>

   int g;  // declaring g as global variable

   int main()

   {

       printf("%d",g);  //printing global variable

       return 0;

    }

Output

  0

Which of the following function headings arevalid? If they are invalid, explain why.
a. One(int a, intb) valid invalid

b. intThisOne(charx) valid invalid

c. char Another(int a,b) valid invalid

d. doubleYetAnother valid invalid

Answers

Answer:

a.invalid

b.invalid

c.invalid

d.invalid

Explanation:

For option a return type of the function is not specified and there is no space between int and b.

For option b there is no space between int and ThisOne and char and x.If there is space then this is valid.

For option c data type of variable b is not specified.

For option d if YetAnother function is without arguments then parenthesis should be there parenthesis are missing in this function heading.

A ____ report is a type of detail report in which a control break causes specific actions, such as printing subtotals for a group of records.
Answer
control break
stratified
subgroup
character

Answers

Answer: Control Break

Programming: Write a recursive function to_number that forms the integer sum of all digit characters in a string. For example, the result of to_number("3ac4") would be 7. Hint: If next is a digit character ('0' through '9'), function is_digit(next) in header will return true.

Answers

yes

Explanation:

isn't really noted but if the sequence is in the given order the ("3at4") could be expressed in a ('0' to '9' )format

T F In a function prototype, the names of the parameter variables may be left out.

Answers

Answer:

True.

Explanation:

In a function prototype, the names of the parameter variables may be left out.

Generally, what is the term for storage locations in a processor?

Answers

Answer: Registers

Explanation:

Registers are small storage locations identified by different types of registers. The function of the register is to provide data for immediate processing to the CPU. These registers hold data temporarily and provide easy access of data to the processor.

________ of Willa Catha present an unadorned picture oflife on the prairies of the Midwestern United States during the19th century.
The stories who
That the novels
The novels which
The novels

Answers

Answer:

"The novels"

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

Based on the sentence, we can see it is mentioning an object that belongs to Willa Catha. Unfortunately, all of them can be possible correct answers based on that information so we need to check which ones make the sentence factually and grammatically correct.

Therefore the only answer that makes this sentence both factually and grammatically correct is the last answer "The novels".

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

what is java applets?and can we used java applets in web site??

Answers

Answer: Java applets is the program written in java language that run in web application. Yes, we can use java applets in web sites.

Explanation: Java applets are the minor java language program that runs with the help of internet for the web applications having compatibility to work with java .These programs usually run in web browser for the execution and it is the client side applet. It is used because it serve the purpose of having approachable and interactive features .It is possible to use it in web sites .

Answer: Java applets is the program written in java language that run in web application. Yes, we can use java applets in web sites.

Explanation: Java applets are the minor java language program that runs with the help of internet for the web applications having compatibility to work with java .These programs usually run in web browser for the execution and it is the client side applet. It is used because it serve the purpose of having approachable and interactive features .It is possible to use it in web sites .

How many characters does the "short text" have?

Answers

Answer:

Total number of characters in "short text" is 10.

Total number of distinct characters is 8.

Explanation:

List of characters in "short text":

s,h,o,r,t, ,t,e,x,t - 10

Set of distinct characters is:

s,h,o,r,t, ,e,x - 8

The length can be determined programmatically in Java using String.length() api.To determine distinct characters, individual characters can be added to a Set and then the set size can be computed.

Write an if statement that prints the message “Application accepted” if the variable workExperience is greater than or equal to 2 or the variable hasCollegeDegree is true.

Answers

if workExperience >= 2 or CollegeDegree is true:
print “Application accepted”
else:
print “Application denied”

Answer:

if workExperience>=2 or hasCollegeDegree==True:

   print("Application accepted")

Explanation:

In the first line of code, we wrote an if statement that allows us to print a message if and only if the int variable workExperience is greater than 2 or the bool variable workExperience is TrueIn the second line of code, we print the message Application accepted if the if-statement evaluated to True

Note: This code was written in python but you can extend the same concept to any programing language using if, comparison operation, boolean operators and print function.

Write a program to define three variables to hold three test scores. The program should ask the user to enter three test scores and then assign the values entered to the variables. The program should display the average of the test scores and the letter grade that is assigned for the test score average. Use the grading scheme in the following table. 90 or greater 80-89 70-79 60-69 Below 60

Answers

Answer:  

It's always good to use if else with boolean expressions in such cases.

Explanation:

I have written a program  where I have used c# as programming language.

I used if else block with boolean expressions to enforce conditions to print the grades according to the average of test scores. I have used Logical And(&&) operator in boolean expressions so that all the conditions in if and if else  must be true

Here is the program:  

using System;

public class Test

{

   public static void Main()

   {

       int testScore1, testScore2, testScore3;

       Console.WriteLine("enter first testScore");

       testScore1 = Convert.ToInt32(Console.ReadLine());

       Console.WriteLine("enter second testScore");

       testScore2 = Convert.ToInt32(Console.ReadLine());

       Console.WriteLine("enter third testScore");

       testScore3 = Convert.ToInt32(Console.ReadLine());

       float avg = (testScore1 + testScore2 + testScore3) / 3;

       if(avg>=90)

       {

           Console.WriteLine("You got grade A");

       }

       else if(avg >=80 && avg <=89)

       {

           Console.WriteLine("You got grade B");

       }

       else if (avg >= 70 && avg <= 79)

       {

           Console.WriteLine("You got grade c");

       }

       else if (avg >= 60 && avg <= 69)

       {

           Console.WriteLine("You got grade D");

       }

       else if(avg< 60)

       {

           Console.WriteLine("You got grade E");

       }

       else

       {

           Console.WriteLine("Sorry, You failed");

       }

       Console.ReadLine();

   }    

}

Explanation of program:  

I created three variables named, testScore1, testScore2, testScore3 of datatype int. I prompted the user to enter three test score values. Each value is read using Console.ReadLine() . As the value entered is of type integer, I converted the  console read value into int using Convert method.  

In the next step, I calculated average using the formula.  

Now, Based on the average, I can calculate the grade according to the given grading scheme.

List and explain the error in the code

public class Weekdays {

public static void main(String[] args) {

final String[] WEEKDAYS = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"}

System.out.println("List of weekdays:");

for (int i = 1; i
System.out.println(WEEKDAYS[i]);

}

Answers

Answer:

Errors:

1. semicolon is missing in the declaration of string.

2. for loop is not complete.

3. one curly braces is missing for closing class.

Explanation:

In the programming, semicolon is used at the end of the statement as a terminator.

in the declaration of string array semicolon is missing.

for loop is incomplete.

syntax of for loop;

for(initialization;condition;increment/decrement)

{

  statement;

}

and finally curly braces in the programming braces must be enclose.

here, the braces of the class is missing.

Something within a while loop must eventually cause the condition to become false, or a(n) __________ results.



1. null value

2. infinite loop

3. unexpected exit

4. compiler error

5. None of these

Answers

Answer: Infinite loop

Explanation:

A while loop terminates when the condition within the loop becomes false else the it will continue to loop for ever and thereby lead to memory overflow.

example : while(i<10)

                      {  print("hello");

                        }

  here if value of i <10 then it will print hello, but if there is no condition it will lead to an infinite loop. example : while();

The power we use at home has a frequency of 60 HZ. What is the time period of such a power?

Answers

Answer:

The period of the power for our lights at home is 0.0116 s, or 16.6 ms.

Other Questions
What factor encouraged Americans to move to the West in the 1800s?A. There were larger plantations in the West.OOB. There were more opportunities to find factory work in the West.OC. There were opportunities to get free land in the West.OD. There were bigger cities in the West. Adante begins to evaluate the expression 3 1/3 x 5 1/4 Two parallel wires are separated by 6.65 cm, each carrying 3.25 A of current in the same direction. (a) What is the magnitude of the force per unit length between the wires? If two lines are parallel, which statement must be true Which of the following is the best summary of Nixons thinking as presented in this passage?It is harmful to contest an effort to remove a president from office.Resigning from the office of president is not constitutional.It is important to fight attempts to remove a president, but I have lost that fight.Same passage:In all the decisions I have made in my public life, I have always tried to do what was best for the Nation. Throughout the long and difficult period of Watergate, I have felt it was my duty to persevere, to make every possible effort to complete the term of office to which you elected me.In the past few days, however, it has become evident to me that I no longer have a strong enough political base in the Congress to justify continuing that effort. As long as there was such a base, I felt strongly that it was necessary to see the constitutional process through to its conclusion, that to do otherwise would be unfaithful to the spirit of that deliberately difficult process and a dangerously destabilizing precedent for the future.But with the disappearance of that base, I now believe that the constitutional purpose has been served, and there is no longer a need for the process to be prolonged.President Richard NixonAugust 8, 1974 How many moles of sodium chloride are present in 0.50 kg of a 1.0 m solution of sodium chloride in water? mol sodium chloride Please hurry i need to turn in this homework , help me please !!An object is thrown upward at a speed of 58 feet per second by a machine from a height of 7 feet off the ground. The height h of the object after t seconds can be found using the equation h=16t^2+58t+71.When will the height be 17 feet?2.When will the object reach the ground? A participial phrase functions in a sentence as an _____ What's the solution to 3x 6 < 3x + 13? A. x > 5 B. There are no solutions. C. There are infinitely many solutions. D. x < 5 Find the enthalpy of neutralization of HCl and NaOH. 137 cm3 of 2.6 mol dm-3 hydrochloric acid was neutralized by 137 cm3 of 2.6 mol dm-3 NaOH. The temperature rose from 298 K to 325.8 K. The specific heat capacity is the same as water, 4.18 J/K g. Force no greater than that needed to achieve the desired end is known as Rewrite the expression in a radical form k^2/9 In a right triangle the lengths of the legs are a and b. Find the length of the hypotenuse, if: a=3/7, b=4/7 A restaurant offers a $12 dinner special that has 6 choices for an appetizer, 12 choices for an entre, and 3 choices for a dessert. How many different meals are available when you select an appetizer, an entre, and a dessert? Where did the battle of midway take place Compare parasympathetic and sympathetic nervous system Which of the following best explains why tan5pi/6 does not equal tan5pi/3? Hurry please What function is most directly lost when helper T-cells die? a) ability to activate B lymphocytes b) ability to attack virus-infected cells c) ability to create an inflammatory response d) ability to present antigens e) ability to release histamine f) ability to secrete antibodies which of the following us the solution to 6 | x-9 | > 12? Determine the position in which a solid cylindrical block of wood of diameter 0.3 m and length 0.4 m will float in water. Take specific gravity of wood as 0.5