I have a very good example of the program you need written on Python. You can use this (sorry for bad tabulation):
import math
import math
def main():
function = input("Enter a function f(x):\n")
x = 0
y = 0
for rows in range(10,-11,-1):
for col in range(-10,11,1):
x=col
roundfx = round(eval(function))
if roundfx == rows:
print("o", end="")
if rows==0 and col==0 and not rows == roundfx:
print("+", end="")
if col == 0 and not rows == 0 and not rows == roundfx:
print("|", end="")
if rows==0 and not col==0 and not rows == roundfx:
print("-", end="")
else:
if not rows == 0:
if not col == 0:
if not rows == roundfx:
print(" ", end="")
print()
main()
Answer:
public class Calculator {
private int total;
private int value;
public Calculator(int startingValue){
// no need to create a new total variable here, we need to set to the our instance total variable
total = startingValue;
value = 0;
}
public int add(int value){
//same here, no need to create a new total variable. We need to add the value to the instance total variable
total = total + value;
return total;
}
/**
* Adds the instance variable value to the total
*/
public int add(){
// no need to create a new total variable. We need to add the value to the instance total variable
total += value;
return total;
}
public int multiple(int value){
// no need to create a new total variable. We need to multiply the instance total variable by value.
total *= value;
return total;
}
//We need to specify which value refers to which variable. Otherwise, there will be confusion. Since you declare the parameter as value, you need to put this keyword before the instance variable so that it will be distinguishable by the compiler.
public void setValue(int value){
this.value = value;
}
public int getValue(){
return value;
}
}
Explanation:
I fixed the errors. You may see them as comments in the code
Answer:
Conditional formatting.
Explanation:
Conditional Formatting is the method that main objective to enabling the users for setting the formatting to the cell or the cell range as well as it adjust the layout based that are based on the cell value or the formula value.
- The Conditional formatting making the cell value as bold as in the given question we see that the cell value is bold when the given condition is true.
- The objective of pivot table is to summarizing the data it do not provide the formatting that's why this option is incorrect .
- The objective of what if analysis is altering the absolute value of worksheet also it see how some modifications will influence the result of the worksheet formulae in the spreadsheet it do not provide the formatting that's why this option is incorrect .
- Data scenario formatting do not provide the formatting that's why this option is incorrect .
Answer:
Search Engine
Explanation:
A search engine is used to crawl most of the web sites based on there content (mostly defined in metadata tag in web pages) in order to search information according to the given query submitted by user. Search Engine will then provides a list of matched results that user want to find.
Answer:
A. Identify and locate the problem.
Explanation:
A problem-solving process can be defined as the systematic approach to used to identify and determine the solution to a particular problem.
The first thing you should do when troubleshooting a computer problem is to identify and locate the problem.
Basically, when an administrator or network engineer is trying to proffer a solution to a computer or network-related problem, it is very important and essential for he or she to first identify what the problem is. This is necessary because it will help to ensure that his or her energy is channeled in the right direction.
Hence, once the problem is identified, then a theory of probable cause can be established.