Write the definition of a function that evaluates three double numbers and returns true if the floor of the product of the first two numbers equals the floor of the third number; otherwise it returns false.

Answers

Answer 1

Answer:

The function is written in C++

bool products(double num1, double num2, double num3) {

if(floor(num1 * num2) == floor(num3)){

    return true;

}

else

{

    return false;

}

}

Explanation:

I answered this question using C++ programming language.

This line defines the function with three parameters; num1 to num3

bool products(double num1, double num2, double num3) {

This checks if the floor of num1 * num2 equals floor of num3

if(floor(num1 * num2) == floor(num3)){

If yes, this returns true

    return true;

}

else {

If otherwise, this returns true

    return false;

}

The method ends here

}

I added the full program as an attachment that include the main method


Related Questions

What tool should be used to remove fields and format data when importing?

A.)Power Query Editor

B.)Relationship builder

C.)3D Maps (Power Map)

Answers

Answer:

A.)Power Query Editor

Explanation:

Power Query editor is a Microsoft Office application, it can be utilized to remove fields and format data when importing files.

To remove fields, a user will click on the fields he wants to remove, then right-click to select Remove Columns on the menu, and under the same menu select Remove Columns from the sub-menu.

It is also used in formating data in the table created.

Which of the following are cache replacement algorithms.

a. Thrashing
b. LILO
c. LRU
d. FIFO
e. Random
f. Double elimination

Answers

Answer:

FIFO,LRU,Random are the cache replacement algorithms.

Explanation:

FIFO we use for cache replacement as the first enter the cache first is evicted without ant regard of how many times it was before accessed.

LRU (Least recently used ) it is a important cache replacement algorithm As it arranges the items in order of use and it will allow you to identify quickly which item hasn't been used for the longest amount of time.

Random is also used but it is used very less As it will select any of the data item from cache and replaces with the desire one And it will not keep track of history

which web design concept is most closely related to elements that symbolize the real world​

Answers

Answer:

it is A A metaphor

Explanation:

What is the name given to a value that does NOT change when used within a formula? *



A. Address

B. Reference

C. Constant

D.Function​

Answers

The answer is C. constant.

Formulars can contain different values, which may be variables or constants. Hence, values which does not change when used within a formula are called constants.

Constant are some times referred to as hard-coded values, as they cannot be aytwrwd within a formula.

Variables, on the other hand coukd taken up any specified value within the formula, as they are designed to be subject to change.

Learn more : https://brainly.com/question/14826269

Databases and EC2 instances are most performant using block-level storage.
A. True
B. False

Answers

Answer:

A. True

Explanation:

It is TRUE that Databases and EC2 instances are most performant using block-level storage.

This is evident in the fact that Databases applications utilize block-level storage in storing files and data, and at the same time that EC2; Amàzon Elastic Compute Cloud, through Amàzon Elastic Block Store utilizes block-level storage to store data.

Hence, in this case, the correct answer is TRUE.

Which of the following defines methodology?
O Messages delivered within the company usually dealing with routine issues
O Shorter, less detailed business reports
O Various processes used in planning, testing and implementing a procedure
O Publication providing information on current and future events of a company

Answers

Answer:

O Various processes used in planning, testing and implementing a procedure

Explanation:

The set of rules and procedures followed in the process of  research and inquiry are said to be termed as methodology. A proper direction is followed to achieve the research process and analyzing the outcomes. Comprehending the topic, analyzing the given data and using methods of researching are the steps involved in the process of methodology. The process of methodology helps in the process of research and analyses of the research.

Write down the different types of testing with their definition.

a. Acceptance/Beta testing________
b. Accessibility testing __________
c. Integration testing ___________
d. Usability testing _________
e. Stress Testing __________

Answers

Answer:

The answer is below

Explanation:

a. Acceptance/Beta testing: this is considered as the last test by the real users or a specific number of end-users of an application software before its final release.

b. Accessibility testing: this is a form of application software testing that is targeted to the disables, such as deaf, color blind, or any other disabled group of people

c. Integration testing: this is a form of testing that involves collective eating of different components of software or hardware that makes up a system.

d. Usability testing: this is a form of testing in which a computer product is tested based on users' experience. It seeks to assess the products from the users' experience.

e. Stress Testing: this is a form of testing that seeks to find the limitation of a product or software. By carrying out stress testing, the producer can quickly know the level at which the product can operate under heavy use.

Commercial technical data and commercial software:_________.
a- [ ] Are provided to the Government with additional rights.
b- [ ] Must be marked ?proprietary? to have protection.
c- [ ] Must be available to consumers to qualify as commercial.
d- [ ] Are offered for sale on the commercial market.

Answers

Answer:

Must be available to consumers to qualify as commercial.

Explanation:

According to Defense Federal Acquisition Regulation Supplement and Federal Acquisition Regulation Supplement technical data and software belongs to the authentic developer or the direct beneficient otherwise, if made available to consumers it will then be regarded as the "Commercial technical data and commercial software."

Hence, the right answer to the question is option C "Must be available to consumers to qualify as commercial."

Imagine that you are a sound designer for a new spy/mystery film. In a pivotal scene, the lead character discovers that a mentor has betrayed her. She confronts her mentor on the rooftop of a high-rise building at night. What would you, as the sound designer, do to maximize the impact of this emotional scene? Your answer should be at least 150 words.

Answers

Answer:

I would of made the sound deep, somewhat emotional, like with violin or piano in the background, while the dialog played. If the mentor were to push the lead character off the building, I would add some music that was intense, to add onto it, and when the character would start to fall, the music would get deeper and quieter, and make the music cut out as the character fell the rest of the way. If somebody saved the person, like somebody were to save them by grappling onto a building and snatching the person, the music would go up, and be a bit more up beat.

that would be what I would of put if I were to have that same question on something.

I hope that helped you!

When two well-informed people have different perspectives on a problem, it is often because they are focusing on a different approach to the problem, not that one side is right and the other is wrong.

a
False

b
True

Answers

Answer:

B. True.

Explanation:

The problem-solving process can be defined as the systematic approach used to identify and determine the solution to a particular problem.

The steps involved in the problem-solving process are;

1. Identify and define the problem: this is the first step to be taken in solving a problem. This is to ensure that, the focus is on the main issue or situation and all efforts is channeled in the right direction rather than the symptoms.

2. Gathering of information: this helps to consider the options available in solving a problem effectively.

3. Consider your options: this helps to compare the available and viable solutions to the problem.

4. Weigh disadvantages and evaluate a solution: you weigh the disadvantages of each solution, before choosing the one with the least disadvantages.

When two well-informed people have different perspectives on a problem, it is often because they are focusing on a different approach to the problem, not that one side is right and the other is wrong. Considering the fact that, all humans and intellectuals have different perspectives on a problem, the technique or approach that would be adopted by them to proffer a solution to the problem is most likely to differ. Thus, it's possible to have more than one approach to proffer a solution to the same problem.

Sara would like to begin creating macros in Excel 2016. Where can she find the ability to launch the Macro dialog box?

Insert tab in the Macros group
Formulas tab in the Macros group
Developer tab in the Code group
Developer tab in the Add-ins group

Answers

Answer:

C) Developer tab in the Code group

Explanation:

enumerate the the risk in the preparation and cooking in starch and cereal dishes and other food​

Answers

———————————————————.

While rendering the homepage of a website, it takes a lot of time due to the thread being blocked in processing JS/CSS. What are the options that can be employed to better the performance in this situation?
a) Pick ONE OR MORE options Using code-splitting for JS files.
b) Compressing the JS files on the server-side.
c) Using preloading for CSS files.
d) Having important pages as static files.

Answers

Answer:

a) Pick ONE OR MORE options Using code-splitting for JS files.

b) Compressing the JS files on the server-side

Explanation:

Javascript is a multi-purpose programming language, it is used in web development as a scripting language for programming the interactiveness of the web application.

Loading and running the script from the server can take a lot of time, so, the file is compressed and split for faster loading.

python Which data type is the best choice to store the number of wins associated with each basketball team in the NBA

Answers

Information with numerical values is represented using Python's numeric data types. A number can be made up of integer, floating-point, or even complex values.

What data type of Python best choice to store the number?

You must declare a variable in some programming languages before using it or specify the data that will be stored in it, such as a number.

When an integer value is passed to the IntToStr method, a string containing the value's decimal representation is produced.

The output string is always decimal, even though integer values can be decimal, octal, or hexadecimal. Use the FloatToStr method or the Format method to convert floating-point numbers.

Therefore, These values are classified by Python as being members of the int, float, and complex classes. Integers—This value is represented by the int class.

Learn more about data type here:

https://brainly.com/question/14581918

#SPJ1

What is the difference between mutex lock and race condition​

Answers

Answer:

The answer is below

Explanation:

Mutex is an exclusion key or synchronization tool that allows users in securing their data or other resources files from concurrent entry. This method ensures critical regions are secured during their stays in the critical section.

On the other hand, the race condition is a situation in which the same access data are simultaneously processed and operated, such that the result from its execution is based on the order of process access.

what is command is used to improve the vocabulary and in which tab is it found​

Answers

Answer:

Writers Talk About Writing

Ctrl+Shift+Return: Keys to Your Computer

By Mike PopeOctober 15, 2012

Your computer's keyboard has around 110 keys by which you can make your wishes known to the machine. Most of these have obvious labels: if you press the A key, the letter A appears on the screen. Some are less obvious, though — the Shift key and the mysterious Ctrl key — and in this article I'll explore why they're named what they're named.

Long before computers, many practical issues about using a machine to write had already been worked out for the typewriter. If you've never used a typewriter, you might be interested in this video that shows one in action.

It is not really important to organize your photos because you know that they are on your computer. (TRUE/FALSE)

Answers

Answer:

It is important

Explanation:

if not it'll be hard to find them in a cluttered mess of scattered photos

Answer: FALSE

Explanation: it is false because you can lose all those photos or even just misplace some photos that are gonna be lost.

Northern Trail Outfitters stores Last Name in a data extension. How should the text file be defined?

a. Varchar(100)
b. Char(100)
c. String(100)
d. Text(100)

Answers

Answer:

d. Text(100)

Explanation:

The data extensions can be defined as the table with the fields of the data about contacts. It can be related to some other data extensions or can be a standalone.

In the context, the Northern Trail Outfitters stores the Last Name in the data extension which is defined as a text file as Text(100).

Choosing a proper field length and a data type ensures an efficient storage as well as retrieval of the data in the data extensions.

Define a function in Scheme (or relation in Prolog) that checks whether a set of elements (represented as a list) is a subset of another set (represented as a list).

Answers

Answer:

subset([],[]).

       subset([X|L],[X|S]) :-

           subset(L,S).

       subset(L, [_|S]) :-

           subset(L,S).

Success:

     subset([1,3], [1,2,3]).

     subset(X, [1,3,4]).        % error handling to compare sets in a given order

Fail:

     subset([2,1], [1,2,3]).   % compares in a different order from the first.

Explanation:

The function "Subset" in the source code above accepts two sets, then checks if the first set is a subset of the second. The code returns true if the condition is met.

How to start the ms excel​

Answers

Answer:

go to your start tab and search up excel in your start tab. Or go to your programs, and search up excel to locate the file location.

Sometimes it can be mixed up with the onedrive excel, so locate an excel version, and open it. If it looks like a browser tab at the top, it is the excel version, so locate the only other version to find the microsoft version.

Explanation:

Which option is created specifically for giving a slide presentation in front of an audience and works when the speaker is utilizing multiple monitors or a projector?

Normal view
Annotation tools
Presenter view
Notes tools

Answers

Answer:

Presenter view

Explanation:

Tips to identify email scams.

Answers

Answer:

Explanation:

dont open or sign up to anything that seems to good to be true

In this first journal assignment, you will explore the role of testing in the SDLC. You will explain the role and importance of testing in the SDLC and describe any exceptions in which the testing stage would occur earlier or later than it typically does in the life cycle. Address the following questions:_______.A. What occurs during the testing stage of the SDLC?B. Why is the testing stage vital to a successful SDLC?C. Are there any exceptions in which the testing stage would occur earlier or later than it typically does in the SDLC? Explain.

Answers

it is SDLC your welcome good luck

What is one purpose of alogorihm​

Answers

Answer:

The purpose of an algorithm is to give a set of rules by which one person can solve a problem.

Step-by-step Explanation:

It can be reasoned by using a step-by-step guide that will help you accomplish a task or solving a specific calculation if the steps are followed correctly.

Answer:

One purpose of algorithm is so that it can help you understand the process of making something.

Example: For example, a recipe is an algorithm. It is a process of steps that helps you understand how to make something.

Or an equation. Equations are also a process of steps that help you understand how to get a correct calculation.

_____ are labels for data, while _____ tie values together into one entity.

Answers

Answer:

Rows and Columns

Explanation:

My teacher told

Describe how you would create a Java program that prompted the user to correctly enter a username and password. The username is not case sensitive, bu

Answers

Answer:

Explanation:

The program in question would create a new Scanner Object which asks the user for the Username first. It would then save this input into a temporary variable and compare it to the actual username in the database. Since the username is not case sensitive, we would use the toLowerCase() method on both the input and the database username so that they match even if the letters are not the same case structure. If both usernames match then we would move on to ask the user for the Password and compare it with the database password for that user. Since this one is case sensitive we would compare as is. Finally, if both Username and Password match we would print "Hello World" otherwise we would print "Login Failed."

A structure, in C, has been given by: struct MYSTRUCT { char buf[15] shorts S int i; } * Select the proper keywords in the proper order) needed to declare, in C, an array of 8 structures (called MYSTR) of type MYSTRUCT. * Choose the following the expression for accessing Element 4 (i.e., index 4) of the char array (BUF) in the third element (i.e., index 3) of MYSTR. * Choose the statement to declare, in C, a pointer called MYSPTR that points to a structure of type MYSTRUCT. * Select the proper method to access the short, S, in a structure pointed to by MYSPTR by de-referencing the pointer.*Select the proper method to access the short, S, in a structure pointed to by MYSPTR by using the shorthand notation.

Answers

Answer:

MYSTRUCT myStruct[8]; // statemnt to create an array of struct variables

myStruct[3].buf[4] // statement to access the fourth element of the array of the struct variables.

struct * MYSPTR = &myStruct; // This statement creates a pointer.

To dereference and access the S variable of the struct data structure in the array;

(*MYSPTR).S and its shorthand notation MYSPTR -> S

Explanation:

A structure is a data structure in C language that is used to hold descriptive data of an object. The keyword struct is used to create the structure. An array of struct holds instances of a struct variable, where each struct can be accessed using the regular array indexing and the variables of the structs in the array can be accessed using dot notation.

1. Hypothesis: It is easier to establish an ethical work environment in a non-profit organization than in a for-profit organization. Provide three facts or opinions that support this hypothesis. Provide three facts or opinions that refute the hypothesis.

Answers

Answer:

Explanation:

Nonprofit organizations may have more possibilities to remain ethical because their work is not aimed at capital, but at the welfare of something or some situation.

When money is not involved in organizations, things become more honest and simple.

Usually people involved in nonprofit organizations have a different worldview and want to change reality.

In a non-profit organization, a social good is sought, as opposed to an organization that aims at money, but there are people who only use non-profit organizations as status.

Even though the environment aiming at a change in reality can become a work without ethics and that breaks the social rules.

What makes people truly ethical are people, a for-profit organization can be a more ethical environment than a non-profit organization.

A company has four departments: A, B, C, and D. The number of IP addresses required by each department is 100, 60, 20, and 26 respectively. The company's application network is 172.168.1.0/24. Please list the address range and subnet mask that can be assigned by each department.

Answers

Answer:

deeppppuhjjuuiiijjjjk

Imagine that you are in the market for a digital camera. Would it be better for you to purchase a high-quality digital camera or a mobile camera? Explain your answer by providing three reasons why your choice suits your needs.

Answers

Answer:

HI

I would be choosing digital camera

Explanation:

Reasons

1 the picture quality is amazing

2 mobile camera is also good but I already have

3 I don't have any 3rd reason

To take pictures that should be of high quality to capture the interest of readers. So, if I am in the market to purchase a camera, I would go for a camera that is of high quality. Even though a mobile camera would be less expensive, a high-quality digital camera has features that can be manipulated to get a quality photo that would also last.

Other Questions
What can be used as a tracing powder when checking for small oil leaks 3.) Which two organ systems provide materials required for the humanbody to produce ATP?*O (1) reproductive and excretory(2) digestive and respiratory(3) respiratory and immune(4) digestive and reproductive Find the value of x and y. Show all your work neat andin order. Simplify the equation: (3-5+2)(4-12-1) how did france react to king louis xiv's death whitch country created the first printed newspaper In one to three sentences, describe what happens during the carbon fixation stage of the Calvin cycle. Classify the changes involved in the following processes as physical or chemical changes:(a) Photosynthesis(b) Dissolving sugar in water(c) Burning of coal(d) Melting of wax(e) Beating aluminium to make aluminium foil(f) Digestion of food Please give me the correct answers 1st answer choices:fancy,funny,or flowing2nd answer choices:nalal patiya,Sri Lanka,or weddings3rd answer choices:stylish,disappointed,or thoughtful An electoron microscope is necessary for the study of ......... fill in the blanks Merchants get commission from selling products that are consigned to them true or false Alicia lives in a town whose streets are on a grid system, with all streets running east- west or north-south without breaks. Her school, located on a corner, lies three blocks south and three blocks east of her home, also located on a corner. If Alicia only walks south or east on her way to school, how many possible routes can she take to school? When Machiavelli wrote The Prince in 1513, he faced a lot of criticism. What were the key ideas of The Prince, and how did these ideas influence European rulers? A band expects to put 16 songs on their next CD. The band writes and records 50% more songs thanthey expect to put on the CD. During the editing process, 62.5% of the songs are removed. How manysongs will there be on the final CD? I need help pleaseeee ________ are nonprofit independent groups that receive and distribute funds to influence the nomination, election, and defeat of a candidate. The correct range for the function (x) = x 9 if the domain is (3, -3, 0) is: List all the physical properties of the iceberg. A reversible steady-state device receives a flow of 1 kg/s air at 400 K, 450 kPa and the air leaves at 600 K, 100 kPa. Heat transfer of 900 kW is added from a 1000 K reservoir, 50 kW is rejected at 350 K, and some heat transfer takes place at 500 K. Find the heat transferred at 500 K and the rate of work produced. I CAN GIVE BRAINLIEST PLEASE HELPPP Steam Workshop Downloader