0=false
1=true
false + false = true
0+0=1
+ operator = and function
AND GATE
Answer: A. How much is this vehicle's resale value?
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:
Generation in computer terminology is a change in technology a computer is/was being used. Initially, the generation term was used to distinguish between varying hardware technologies. Nowadays, generation includes both hardware and software, which together make up an entire computer system.
Explanation:
hope its help
thank you
What are the choices, that i could tell you are outputs and inputs, the common are:
Outputs: Desktop-Monitor, Computer-Speakers, Computer-Printer.ETC...
Inputs: Flash Drive-Computer, CD-Computer, Mouse-Computer, Keyboard-Computer, Power Supply-Computer.ETC...