Answer:
ummmmm
Step-by-step explanation:
Answer:
4 x 1 = 4 x 3 = 12 = 4 x 3
Step-by-step explanation:
sorry I'm having trouble with this too
rules to find :- 1 All non zeroes number are significant
2 if zero proceeding the decimal point also work as non zero figure
3 zero are following the decimal point and proceeding the first non zero digit
4 Zero in between 2 non zero digits are also significant
5 if 1 zero follow the decimal point
790 :- 2 significant figures
0.0391 :- 3 significant figures ( follow 3 rule)
81.05 :- 4 significant figures ( rule 4)
0.000001 :- 1 significant figure
8546 :- 4 significant figures
79.0 :- 3 significant ( rule 5)
First step is to analyze input and output variables:
INPUT:
list of integers with name "values"
integer with name "p1"
integer with name "p2"
OUTPUT:
there is no output variable as in declaration of a method there is void
ANALYSIS:
"<span>int temp = values[p1]"
this line creates variable "temp" which is integer. then this line goes to the list "values" and takes value that is at position "p1" and stores it into variable "temp"
"</span><span>values[p1] = values[p2]"
this line </span>goes to the list "values" and takes value that is at position "p2" and stores it into variable that is at position "p1"
"<span>values[p2] = temp"
this line takes value of the variable "temp" and stores it into list values at position "p2"
Short explanation:
this code replaces values of the list at between positions p1 and p2</span>