I think the answer to this would be true
Answer:
retupmoc
Explanation:
1.) Anwser will be retupmoc
because
public static String mysteryString(String s){
if(s.length() == 1){
return s;
}
else{
return s.substring(s.length() -1) + mysteryString(s.substring(0, s.length()-1));
}
}
In this program input is "computer" . So the function mysteryString(String s) it does
return s.substring(s.length() -1) + mysteryString(s.substring(0, s.length()-1));
so when it enters the first time ??s.substring(s.length() -1) and it will be give you 'r' then it calls the function recursively by reducing the string length by one . So next time it calls the mysteryString function with string "compute" and next time it calls return s.substring(s.length()-1)? + mysteryString(s.substring(0,s.length-1)) so this time it gives "e" and calls the function again recursively . It keeps on doing till it matched the base case.
so it returns "retupmoc".
Answer: Hierarchical structure
Explanation:
The hierarchical structure is the most preferred structure for an organisation. As more and more people join an organisation with the passage of time we can clearly see the different links between the persons and the their hierarchical level to the organisation. In this process it becomes easier to manage the people at the various levels.
Answer:
Program source code found in explaination
Explanation:
Recursive int function of the asked question.;
int productOfOdds(int array[],int length) {
int product=1;
if(length==0)
return -1;
else if(length==1) {
if(array[length-1]%2!=0)
return array[length-1];
else
return 1;
}
else {
product=productOfOdds(array,--length);
if(array[length]%2!=0) {
product=product*array[length];
}
}
return product;
}
Explanation:
Microsoft Excel is a spreadsheet program included in the Microsoft Office suite of applications. Spreadsheets present tables of values arranged in rows and columns that can be manipulated mathematically using both basic and complex arithmetic operations and functions.