Answer:
The answer to the question is
short
Step-by-step explanation:
A primitive data type are defined types of data which are recognized by a programming language. In Java programming language, for example, the eight primitive data types are the fundamental data types which store values for data manipulation . The eight primitive data types in Java includes; Boolean, char, short, int, long, float and double.
The operations of primitive data type are predefined in the Java type system and they cannot be manipulated, hence the appropriate type is to be selected for each task. All primitives have a size limit
In the case of representing the decimal value 333, we list out the whole number primitives with their capacities as follows
- byte; Maximum value it can represent = 127
- char; Maximum value it can represent = 2¹⁶ - 1
- short; Maximum value it can represent = 2¹⁵ - 1
- int; Maximum value it can represent = 2³¹ - 1
- long; Maximum value it can represent = 2⁶³-1
- float; Maximum value it can represent = (2-2⁻²³)·2¹²⁷
- double; Maximum value it can represent = (2-2⁻⁵²)·2¹⁰²³
- Boolean; Maximum value it can represent
As seen the smallest whole number primitives that can represent the decimal value 333 is short (2¹⁵ - 1)
Answer:
$176.50
Step-by-step explanation:
Take each room type and multiply the number of rooms by the price of the room. Add the total for prices and add the total for the number of rooms. Divide the total prices by the total number of rooms.
Type of room Number Cost Total
Double queen 140 $200.00 $28,000.00
King 160 $150.00 $24,000.00
Junior Suite 220 $100.00 $22,000.00
Full business 285 $50.00 $14,250.00
$500.00 $88,250.00
Average cos per room $176.50
15.2 is the mode....the number that appears the most often
Find the median of the following data set 6,2,59,12,11,9,9,54,54,46,2,32,43,11
Aleonysh [2.5K]
By arranging the numbers in ascending order we get,
2, 2, 6, 9, 9, 11, 11, 12, 32, 43, 46, 54, 54, 59
The 2 middle numbers are:
11, 12
To find the median we have to add them and divide them by 2
So, (11+12)÷2
23÷2
11.5