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
Marina CMI [18]
3 years ago
10

Write a second ConvertToInches() with two double parameters, numFeet and numInches, that returns the total number of inches.

Computers and Technology
1 answer:
Westkost [7]3 years ago
3 0

Answer:

Answered in C++

double ConvertToInches(double numFeet, double numInches){

   return numFeet*12 + numInches;

}

Explanation:

A foot is equivalent to 12 inches. So, the function converts feet to inches by multiplying the number of feet by 12.

The question is answered in C++

This line defines the method with two parameters

double ConvertToInches(double numFeet, double numInches){

This line converts the input parameters to inches and returns the number of inches

   return numFeet*12 + numInches;

}

To convert 9 feet and 12 inches to inches, the main method of the program can be:

<em>int main(){</em>

<em>    cout<<ConvertToInches(9,12);</em>

<em>    return 0;</em>

<em>}</em>

This above will return 120 because: 9 * 12 + 12 = 120 inches

You might be interested in
explain why electronic file organization is a key skill for today’s workplace. You may use a scenario from your current and/or f
sleet_krkn [62]

An electronic document is any electronic media content  that are intended to be used in either an electronic form or as printed output.

Explanation:

Electronic file organization is a key skill for today's work place for many reasons.

  • It will increase productivity and will help give a clear understanding of what documents should be filed in the shared drive system.
  • Having a sound file structure will help to improve the over all production of the organization
  • An electronic file management software system helps organize documents in various ways. So your employees can find files fast and save time. They can accomplish more work in the given amount of time.
  • Doctor offices and hospitals have digitized all paper medical records, which means they are now using electronic medical records (EMR) systems. If someone does not have organization it could potentially lead to files and or documents going in to the wrong hands.
  • Learning to use One Drive can also assist me in my present role as a student. It will help me to be organized with my assignments . I will be able to access any other important documents and data.
3 0
3 years ago
How many invalid code sequences can we have in 5b/6b encoding?
mart [117]
<span>In the process of 5B/6B encoding, it is possible to have the following two kinds of data sequences: 1. 25=32 data sequences 2. 26=64 data sequences Therefore, this can left us with some unused code sequences that are 32 in number (=26 – 25). On the other hand, in the encoding process of 3B/4B, it is possible to another set of data sequences as follows: 1. 23=8 data sequences 2. 24=16 data sequences This type of encoding also leaves us with some unused code sequences that are 8 in number (=23-24). 2. </span>
6 0
3 years ago
How does email software protect the privacy of your messages?
zhannawk [14.2K]
D is the answer to the question hope it helps
5 0
3 years ago
Read 2 more answers
Write multiple if statements: If carYear is before 1968, print "Probably has few safety features." (without quotes). If after 19
jekas [21]

Answer:

Following is the statement in the C language :

if(carYear < 1968)

printf("\nProbably has a few safety features.\n");

if(carYear > 1970 && carYear <=1991 )

printf("\nProbably has head rests.\n");

if(carYear > 1991 && carYear <=2002)

printf("\nProbably has anti-lock brakes\n.");

if(carYear > 2002)

printf("\nProbably has airbags.\n");

Explanation:

Following is the description of the statement:

  • In the given question we used if block. The if block is only executed when their condition is true.
  • if(carYear < 1968) In this we check we the value of "carYear" variable is less then 1968 then it prints "Probably has a few safety features." in the console window.
  • if(carYear > 1970 && carYear <=1991) In this we check we the value of "carYear" variable is greater then 1970 and less then 1992 it prints "Probably has head rests" in the console window.
  • if(carYear > 1991 && carYear <=2002 ) In this we check we the value of "carYear" variable is greater then 1991 and less then 2003 it prints "Probably has anti-lock brakes" in the console window.
  • if(carYear > 2002) In this we check we the value of "carYear" variable is greater then 2002 then it prints "Probably has airbags" in the console window.

6 0
3 years ago
Use the Manufacturing database from "Excel Databases.xls" on Blackboard. Use Excel to develop a multiple regression model to pre
Dennis_Churaev [7]

Answer:

52.64

Explanation:

Multiple Regression:

Multiple regression generally explains the relationship between multiple independent or predictor variables and one dependent or criterion variable.

Please kindly check attachment for the step by step solution of the given problem.

6 0
3 years ago
Other questions:
  • In a word processor, Tariq chooses Options from the Tools menu and then selects the Track Changes tab. Which of the following ta
    14·1 answer
  • Select the correct answer.
    12·2 answers
  • For example, one might start with a population of 500 organisms, a growth rate of 2, and a growth period to achieve this rate of
    6·1 answer
  • What is the meaning of Android
    12·2 answers
  • A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10 servings in the bag and that a se
    10·1 answer
  • Difference between Hard copy and Soft copy?​
    13·1 answer
  • A posting error is:
    8·1 answer
  • What does the following code segment do?
    13·1 answer
  • MSWord is a popular___________ program.​
    7·2 answers
  • Which of the following tiny computer apps is designed to be useful but could cause more harm than good?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!