1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
SVETLANKA909090 [29]
3 years ago
8

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.
Computers and Technology
1 answer:
Mama L [17]3 years ago
4 0

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

}

<em>I added the full program as an attachment that include the main method</em>

Download cpp
You might be interested in
The type of connection that is kept open after an HTTP request to the server.
Igoryamba

Answer: Persistent

Explanation:

 Persistent is the type of connection in the hyper text transfer protocol (HTTP) that act as communication channel in the network. It basically remain open after HTTP request or response to the server.

Persistent also maintain the HTTP connection and prevent it from the timing out with the help of transmission control protocol packets.

In the persistent connection, after request has been send TCP connection is leave by the server. Therefore, the request can be easily send between the similar server and client.

6 0
4 years ago
_______ involves the number of images or cels that will be shown in a second.
NeTakaya
The answer is FPS (frames per second)

Hope this helps!

- Juju
5 0
3 years ago
b. Run the "netstat -na" command on the server machine, and compare the result with that before the attack. c. Find out how many
denpristay [2]

Answer:

create trigger F1_Del

after delete on Friend

for each row

when exists (select * from Friend

where ID1 = Old.ID2 and ID2 = Old.ID1)

begin

delete from Friend

where (ID1 = Old.ID2 and ID2 = Old.ID1);

end

create trigger F1_Insert

after insert on Friend

for each row

when not exists (select * from Friend

where ID1 = New.ID2 and ID2 = New.ID1)

begin

insert into Friend values (New.ID2, New.ID1);

end

7 0
4 years ago
Does anyone watch JackSepticEye or Markiplier?
Doss [256]

Answer:

hell yeah we do

Explanation:

6 0
3 years ago
Read 2 more answers
A vending machine that serves coffee pours a varying
babunello [35]
Is that the whole question? or
8 0
3 years ago
Other questions:
  • (tco 8) when a file is opened in the append mode, the file pointer is positioned
    8·1 answer
  • To join a social network you create an avatar
    12·2 answers
  • Which of the following tasks would a database administrator perform ? A identify computer security photos, B. Make sure protocol
    15·1 answer
  • ¿Que es una linea del tiempo?
    8·1 answer
  • Match the feature to the network architecture,
    7·1 answer
  • To maintain your body temperature, your body converts chemical potential energy into thermal energy T or F
    6·1 answer
  • Which of the following is true about operating system.
    13·1 answer
  • To add a hyperlink to your presentation, select the text, choose Hyperlink from the Insert menu, and then
    15·1 answer
  • Kim, a user, took a laptop on vacation and made changes to the configuration in order to use the device at the hotel. She can re
    11·1 answer
  • Why does my internet keep disconnecting and reconnecting.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!