Answer:
17%
Explanation:
Given parameters:
Cost price of liquor = $4000
Total sale = $24000
Unknown:
Percentage cost of sale for liquor = ?
Solution:
To find the percentage cost of sale;
%Cost of sale of liquor =
x 100
Input the variables;
%Cost of sale of liquor =
x 100 = 16.67% = 17%
Answer:
"double result=6.759;" is the correct answer for the above question.
Explanation:
- In c-programming language, the double is a data type which stores the decimal value up to 6 decimal point.
- This data type takes 8 bytes space in memory when it is used in the c-programming language.
- When the user wants to declare the double data type, then he should need to declare by the help of the following syntax-- double variable_name_or _identifier_name;
- When the user wants to declare the double data type and initialize the value on its then he can do this with the help of the following syntax--double variable_name_or _identifier_name= value_which_needs_to_store;
- The above question asked the one-line statement which declares the result variable of double data type and initializes the "6.759" value on its then he can do this by the help of "double result=6.759;" statement which is described above. Hence the answer is "double result=6.759;".
The subject line should be a brief message explaining some of the contents of the email.
Answer:
/*
Find Largest and Smallest Number in an Array Example
This Java Example shows how to find largest and smallest number in an
array.
*/
public class FindLargestSmallestNumber {
public static void main(String[] args) {
//array of 10 numbers
int numbers[] = new int[]{32,43,53,54,32,65,63,98,43,23};
//assign first element of an array to largest and smallest
int smallest = numbers[0];
int largetst = numbers[0];
for(int i=1; i< numbers.length; i++)
{
if(numbers[i] > largetst)
largetst = numbers[i];
else if (numbers[i] < smallest)
smallest = numbers[i];
}
System.out.println("Largest Number is : " + largetst);
System.out.println("Smallest Number is : " + smallest);
}
}
/*
Output of this program would be
Largest Number is : 98
Smallest Number is : 23
*/
Explanation:
The managed service should you use if you want to do a lift and shift of an existing Hadoop cluster without having to rewrite your Spark code is f G. Cloud's.
<h3>What is Lift and shift Hadoop clusters?</h3>
This is one where a person can migrate their existing Hadoop and Spark deployment so that they can use G. Cloud without having to engage in re-architecting.
The managed service should you use if you want to do a lift and shift of an existing Hadoop cluster without having to rewrite your Spark code is f G. Cloud's as it is advantage fast and flexible way to put together infrastructure as a service and others.
Learn more about managed service from
brainly.com/question/20495853
#SPJ1