There are inhabited areas INSIDE the Amazon Rainforest. Many primitive tribes with little to no contact of the outside world live in remote areas of the rainforest, but the closest major city to the rainforest (also inside) is Manaus, Brazil.
Answer:
// here is code in Java.
// package
import java.util.*;
// class definition
class Main
{
// method that return sum of two sale value
public static int Add(int euroSales,int asiaSales)
{
// return the sum
return euroSales+asiaSales;
}
//main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// variables
int euroSales=100;
int asiaSales=150;
int eurasiaSales;
// call the function
eurasiaSales=Add(euroSales,asiaSales);
// print the sum
System.out.println("total sale is:"+eurasiaSales);
}catch(Exception ex){
return;}
}
}
Explanation:
Declare and initialize two variables "euroSales=100" and "asiaSales=150". Declare another variable eurasiaSales. Call the method Add() with euroSales and asiaSales as parameter. This method will add both the value and return the sum.This sum will be assigned to variable eurasiaSales.Then print the sum.
Output:
total sale is:250
Answer:
The correct option is B) Task has a due date instead of a specific time and place.
Explanation:
Task can be defined as any piece of work which is to be done in a specific, given period of time. On the other hand, appointment can be described as assigning a specific time to some one or scheduling a certain meet- up with someone. An appointment will have a specific time and place whereas a task will have a given time, not a specific time. Hence, the correct option is B.
Answer:
3) 3 44 44
Explanation:
Given data
int [] val = { 3, 10, 44 };
The total number of parameters of given array are 3, so total length of array is also 3.
The indexing of array starts with '0', Therefore the <u>indexes</u> of array with length zero are: {0,1,2}
The value of array at index 0 is = 3
similarly
value at index 1 = 10
value at index 2 = 44
Here, Int i = 1 is storing the value '1' in integer variable i.
In addition to that, any value of index 'i' of an array is selected using array[i].
Therefore,
val[i] is selecting the value of array located at index '1' because i = 1.
val[i] = val[1] = 10
val[i+1] is selecting the value of array located at index 'i+1' that is (1+1) =2
val[i+1] = val[2] = 44
Finally,
val[i] = val[i + 1]; is copying the value placed at index 2 (44) to value placed at index 1 (10). Hence, the output would be {3 44 44}. So 3rd option is correct.