Answer:
auto mechanics
Explanation:
keeps dirt and grease off hands
Answer:
The Basic Program is as follows:
10 LENGTH = 50
15 WIDTH = 30
20 AREA = WIDTH * LENGTH
25 PRINT AREA
30 END
The Algorithm is as follows:
1. Start
2. Let Length = 50
3. Let Width = 30
4. Compute Area = Length * Width
5. Display Area
6. Stop
See Attachment for flowchart (flowchart is designed using draw io tools)
Explanation:
The flowchart, algorithm and basic program all follow the same sequence and explanation
Using the basic program as a case study;
Line number 10: The program starts by initializing LENGTH to 50
Line number 15: It then initializes WIDTH to 30
Line number 20: The AREA is calculated by LENGTH * WIDTH
Line number 25: The value of AREA is printed afterwards
Line number 30: Lastly, the program stops execution
Explanation:
problem is the misunderstanding misbehaviour etc which harm us and others
Answer:
I've seen these a lot. What happens when you click on them tho?
Explanation:
Answer:
//method listUpper takes a list of strings as parameter
public List<String> listUpper(List<String> list)
{
List<String> finalList= new ArrayList<String>();
//finalList is created which is a list to display the strings in upper case
for(String s:list){ //loop iterates through every string in the list and converts each string to Upper case using toUpperCase() method
s = s.toUpperCase();
finalList.add(s); } //finally the upper case strings are added to the finalList
return finalList; } //return the final list with uppercase strings
Explanation:
The method listUpper() works as follows:
For example we have a list of following strings: ("a", "an", "being").
finalList is a list created which will contains the above strings after converting them to uppercase letters.
For loop moves through each string in the list with these strings ("a", "an", "being"). At each iteration it converts each string in the list to uppercase using toUpperCase() and then add the string after converting to uppercase form to the finalList using add() method. So at first iteration "a" is converted to A and added to finalList, then "an" is converted to uppercase AN and added to finalList and at last iteration "being" is converted to BEING and added to finalList. At the end return statement returns the finalList which now contains all the string from list in uppercase form.