Answer:
b. entered later but dated as of the last day of the period.
Explanation:
Because collecting the adjustment data requires time, the adjusting entries are often entered later but dated as of the last day of the period.
<u>Answer</u>:
<em>By changing the decimal to a percentage
</em>
<u>Explanation:</u>
Since the requirement is to calculate the percentage of students about their preference in eating vegetables, we need to convert the given values to percentage only.
<em>
Option A: </em>By changing the addition sign to a multiplication sign. This is invalid because, there is no addition and multiplication involved in converting to percentage
<em>Option C:</em> By changing the percentage to a decimal. The given data is not available in percentage so conversion is impossible.
<em>Option D:</em> By changing the multiplication sign to a division sign Multiplication and division are not going to be performed here, since we need only percentage.
Answer:
Me
Explanation:
Its really just a waste of time since I have no motivation to do any of it , so I just use this site. Though I can't really do that on a DBQ for my AP class , so I am just going to wither away now.
Here is my solution. I did the following:
- changed the setRemover into a constructor, since the comment seems to hint that that is expected.
- changed the lookFor type into a String, so that it can work with the string replace overload. That's convenient if you want to replace with an emtpy string. The char type won't let you do that, you can then only replace one char with another.
- Added a static Main routine to use the class.
import java.lang.System.*;
public class LetterRemover
{
private String sentence;
private String lookFor;
public LetterRemover() {}
// Constructor
public LetterRemover(String s, char rem)
{
sentence = s;
lookFor = String.valueOf(rem);
}
public String removeLetters()
{
String cleaned = sentence.replace(lookFor, "");
return cleaned;
}
public String toString()
{
return sentence + " - letter to remove " + lookFor;
}
public static void main(String[] args)
{
LetterRemover lr = new LetterRemover("This is the tester line.", 'e');
System.out.println(lr.toString());
String result = lr.removeLetters();
System.out.println("Resulting string: "+result);
}
}