Answer:
B. Which customer most frequently purchases bread.
Explanation:
As per the scenario, the data we are receiving from the sales record of the bakery is :
The date on which the items are sold
Each items name which are sold
The number of each item sold and
The price of each item sold
These data are required to estimate how much the company has earned the profit during a given period of time.
So from the above scenario, there is no data given about the customer i.e customer name, customer number, etc. So there is no chance to track the details of a customer purchase history.
Therefore, the most appropriate answer is option B
A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically.
No, it is not necessary that variables that contain numbers should always be declared as integer or floating-point data types.
It is not necessary that variables that contain numbers should be declared as integer and floating point data types. Because number can be declared with different data types. As we know that data type is a vital aspect in programming. It describes the type of a value that is contained in a variable. It is the data type based on which memory is allocated to a number or any type of variables.
Numbers can be whole decimal/fractional, signed, unsigned, small, and long. Simply, they exist in a variety of values. According to their values range, the amount of memory is reserved.
Different programming languages offer different data types to store numbers, depending on their types and size. Let’s consider some examples of data types used in programming languages in order to declare variables holding numbers.
- In Python int, float, and complex are the data types used to declare number type variables.
- SQL uses INTEGER, SMALLINT , BIGINT , NUMERIC() , and DECIMAL() data types for numbers.
- To deal with number type variables, Java has six predefined data types, such as int, long, short, byte, float, and double.
- JavaScript uses a single data type called 'number' to declare numbers.
- In C++, two fundamental data types, int and float, are used to represent numeric variables. But C++ is not only limited to these two data types. The data type char can also store numbers. Other data types for declaring numbers as variables are derived from int, float and char, such as short int, long int, signed int, unsigned int, double, long double, signed char, unsigned char etc. etc.
So in concluding remarks, declaring a number type variable is not only limited to using integers and floating-points data types. Rather it entirely depends on the respective programming language, and size and type of the number to be stored in the variable.
You can learn more about data types at
brainly.com/question/13438922
#SPJ4
Answer:
The answer to this question is the "years--;".
Explanation:
In the given question code the if we define the years--; and the rate of interest in the code so this program will return a value for example if we give rate of interest or rate to value 5 then the output of the code is 26532.977051 because it returns the double that is a floating-point value. So the missing code for this question is "years--;".
Answer:
The HTML <h1> to <h6> tag is used to define headings in an HTML document. <h1> defines largest heading and <h6> defines smallest heading.
Explanation: