Using a do...while() loop, continuously scan for random integers that will be inputted by the user and print out its square, separated in each line.
Once the inputted value is 0, it will still print out its square value but should then terminate the loop afterwards. Use this concept in making your loop condition.
Calculate 𝐼1,𝐼2,𝐼3,𝐼4,𝐼5 and 𝐼6.
A charge of +6.0µC experiences a force of 2.0 mN in the +x-direction at a certain point in space. (a) What was the electric field there before the charge was placed there? (b) Describe the force a - 2.0µC charge would experience if it were used in place of the +6.0µC charge.
Each customer will type in a code representing the structure of their order, and your program will display (to standard output) a summary of the order components along with the total cost. An order code is exactly nine characters long, representing four optional toppings. The order code positions, from left to right, represent the following elements:
Four optional Items:
1. 'Y' means the customer wants corn (no additional charge), and 'N' means that the customer does not want corn.
2. 'Y' means that the customer wants guacamole ($0.50 extra), and 'N' means that the
customer does not want guacamole.
3.. 'Y' means that the customer wants sour cream (no additional charge), and 'N' means that the customer does not want sour cream.
4.. 'Y' means that the customer wants cheese ($0.50 extra), and 'N' means that the customer
does not want cheese.
Each customer will type in a code representing the structure of his or her order, and your program will display (to standard output) a summary of the order components along with the total cost. An order code is exactly nine characters long, representing five required items. The order code positions, from left to right, represent the following elements:
Five required items:
1. 'A' represents a burrito ($3.00), and 'B' represents a burrito bowl ($4.00).
2. 1 represents black beans (no additional charge), and 2 represents pinto beans (no
additional charge).
3. 1 represents white rice (no additional charge), and 2 represents brown rice ($0.50 extra).
4. 1 represents chicken ($2.00 additional), 2 represents carnitas ($2.50 additional), and 3 represents steak ($3.50 additional).
5. 1 represents mild salsa (no additional charge), 2 represents medium salsa (no additional charge), and 3 represents hot salsa (no additional charge).
A survey on a gender and ear piercing for a large group of college students shows that19 out of 90 males and 84 out 88 females have ear piercings. What is the probability that from this sample, a student selected is a male with ear piercing? *
Assume that mitochondria contain 0.47 Molar KCL and 0.015 Molar NaCl. Calculate the grams per liter, of a carbohydrate similar to glucose with a molecular weight 280 amu, that will have the same osmolarity as the mitochondria..
Terry the CEO of Power Company, was appointed by the executive committee about 10 years ago. Power’s employees trusted Terry's leadership competence from the start without any question. He has over the years built good and trusting relationships with his employees. Terry’s ability to influence Power employees stem from which power base:
a.Coercive and reward power
b.Personal referent power
c.Formal legitimate power
d.Legitimate and referent power
The following type of person will best respond to a servant leader:
1.One who has little resources and poor self-confidence
2.One who prefers to work in a group together with other people
3.One who is dependent and in need of direction and guidance
4.One who is responsible and committed to organisational goals and self-development
What are some of the advantages that a person experiences from belonging to a group?
1.One's ability to achieve goals is stronger because you have more resources.
2.We avoid the advantages of being alone.
3.Better organisational decisions are made than by individuals.
4.One has a better chance of promotion and advancement in the organisation.