Answer:
The solution code is written in C++
- float cellPhone(int m, int tx){
- float COST_PER_MIN = 0.1;
- float COST_PER_MESSAGE = 0.2;
-
- float bill_amount = m * COST_PER_MIN + tx * COST_PER_MESSAGE;
-
- return bill_amount;
- }
Explanation:
Firstly, declare a function named cellPhone() that takes two input parameters, m and tx (Line 1).
Since the policy of the carrier company is not given in the question, I make a presumption that the cost per minutes is $0.10 and the cost per message is $0.20 (Line 2- 3).
Next, apply the formula m * COST_PER_MIN + tx * COST_PER_MESSAGE to calculate the total bill (Line 5) and return the bill_amount as function output (Line 7).
Answer:
Information about the parts of a cell, its location and role will help describe the appearance of a cell's content.
Organelles are cell structures that include the nucleus, cytoplasm, cell membrane among others. One can view these using a light microscope.
1. Cell Membrane is a fluid mosaic. It is the outer boundary of the cell.
2.Cytoplasm is the fluid inside the cell. It is located between the nucleus and the cell membrane.
3.Nucleus is the control center of the cell and is located at the center.
Answer:
A programming language is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks. The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, Java, FORTRAN, Ada, and Pascal.
A <span>cripple stud is what is use for windows and doors
</span>