Answer:
The algorithm is as follows;
1. Start
2. Input TeddyBears
3. Input Hours
4. WagebyTeddy = 2 * TeddyBears
5. WagebyHour = 5 * Hours
6. If WagebyHour > WagebyTeddy then
6.1 Print WagebyHour
7. Else
7.1. Print WagebyTeddy
8. Stop
Explanation:
The following variables are used;
TeddyBears -> Number of teddy bears made
Hours -> Number of Hours worked
WagebyTeddy -> Wages for the number of teddy bears made
WagebyHour -> Wages for the number of hours worked
The algorithm starts by accepting input for the number of teddy bears and hours worked from the user on line 2 and line 3
The wages for the number of teddy bears made is calculated on line 4
The wages for the number of hours worked is calculated on line 5
Line 6 checks if wages for the number of hours is greated than wages for the number of bears made;
If yes, the calculated wages by hour is displayed
Otherwise
the calculated wages by teddy bears made is displayed
Answer:
idk
Explanation:
how bout idk maybe ask ur teacher dont be afraid to ask thats what they're there for
just saying not tryna be rude or anything
They are versatile because they can be used for all sorts of tasks. They can also do many of the same tasks in different ways. They are diligent because they will do a task thoroughly until it is finished.
They work at a constant speed to do the task. Unlike a human, they will not slow down or get bored or start making mistakes that they were not doing earlier. So once they are programmed correctly to do a task, they will do it diligently.
Answer:
count = 0;
longest =0;
String myString = new String();
while (input.hasNext()){
myString = input.next();
if (myString.length() == longest) count++;
else
if (myString.length() > longest){
longest = myString.length();
count = 1;
}
}
Explanation:
Answer: 0.7585Wh
Explanation:
Battery capacity = 205 mAH
Nominal Voltage (V) = 3.7
The overall energy capacity of the battery is measured in watt-hour. Which is the product of the battery capacity in Ampere-hour(AH) and the nominal voltage of the battery in volt (V)
205mAH = 205/1000 = 0.205AH
Therefore, energy capacity:
0.205AH × 3.7 V = 0.7585Wh
This gives us the amount of energy stored in the battery per hour.
Therefore, a battery with nominal voltage of 3.7V and current capacity of 205mAH has a maximum energy capacity of 0.8585Wh.