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
Vera_Pavlovna [14]
3 years ago
11

Write the definition of a function that takes as input three numbers. The function returns true if the floor of the product of t

he first two numbers equals the floor of the third number; otherwise it returns false. (Assume that the three numbers are of type double.) (4)
Computers and Technology
1 answer:
SVETLANKA909090 [29]3 years ago
4 0

Answer:

Written in C++

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

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

       return true;

   }

   else {

       return false;

   }

}

Explanation:

The function written in C++

This line defines the function

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

The following if condition checks if the floor of num1 * num2 equals num3

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

       return true; It returns true, if yes

   }

   else {

       return false; It returns false, if otherwise

   }

}

See attachment for full program including the main

Download cpp
You might be interested in
3. Comparing the Utopian and dystopian views of Technology according to Street (1992) which one in your view is more applicable
lord [1]

Answer:

The answer is below

Explanation:

The Utopian views of technology, according to Street 1992, describe society to be in good condition in terms of politics, laws, customs, ways of life. Hence, the system is designed to improve the community for the better.

In contrast, Dystopian is described as a society that is heavily controlled by some greedy, larger than life, apocalypse group of people or government, where the rights and freedoms of people are trampled upon, thereby leading to all sorts of negativity such as suffering, poverty, intimidation, violence, disease, and break down.

The view that is more applicable to my society is the Utopia due to the following reason:

1. The people in my society accept the laid down rules and ideals. We also favor individuality and innovation.

2. My society is quite dynamic and improves over time to establish an ideal utopian world.

3. My society ensures some leaders carry the other individuals in the society along in whatever they do.

4 0
3 years ago
To rotate text in a cell, select the _____ option in the alignment grouping.
KiRa [710]

Answer:

rotate text is the correct answer

7 0
4 years ago
A client has macular degeneration resulting in moderate visual impairment. The client works as a data entry clerk and wants to c
weqwewe [10]

Answer:

Low Vision Aid for Computer Users

Explanation:

Visually impaired people can use the same low vision aids for viewing a computer screen as they do for regular reading activities. These include eyeglass-mounted magnifiers, handheld magnifiers and stand-alone magnifiers.  But also, special software has been developed to display content on the screens of computers and other digital devices in large print. Other applications can read text and other visual content aloud with a synthetic voice.  These adaptive low vision devices let partially sighted people do the same computer-related tasks as fully sighted people — such as word processing, creating and using spreadsheets and viewing web pages online.

4 0
3 years ago
What's a computers C hard drive
telo118 [61]
The C hard drive is the central internal hard drive in a computer it is the hard drive that comes inside the computer when you buy it and is non-removable
7 0
4 years ago
Read 2 more answers
Your mother wants to purchase a large hard drive for her computer ex you to see what type of dry interphase she has her computer
SpyIntel [72]

That is the SATA or data cable. I have built a computer myself and I have also struggled with cables. SATA cables can connect to almost every type of hard drives.


3 0
3 years ago
Other questions:
  • Which description best describes how mass spectroscopy is useful in the field of forensic toxicology
    6·1 answer
  • I only want someones opinion on this not anything you would find in a book.
    7·1 answer
  • You have just used a command that produced some interesting output on the screen. You would like to save that information into a
    10·1 answer
  • A(n) __________ is a software package that usually consists of a text editor, a compiler or interpreter, and tools to test and d
    14·1 answer
  • 10^4+10-2=<br>10^4+10-2=
    12·2 answers
  • Read the Security Guide about From Anthem to Anathema on pages 238-239 of the textbook. Then answer the following questions in t
    14·1 answer
  • Click this link to view O NET'S Wages and Employment section for Film and Video Editors.
    11·2 answers
  • Simon is producing a report on major rivers in North America. In the report he wants to add a table that displays the statistics
    12·1 answer
  • Which of the following pieces of evidence was NOT used to support the Theory of Continental Drift?
    10·1 answer
  • For python how do I ask the user how many numbers they want to enter and then at the ending add those numbers up together?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!