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
Travka [436]
3 years ago
10

Define a method printFeetInchShort, with int parameters numFeet and numInches, that prints using ' and " shorthand. End with a n

ewline. Ex: printFeetInchShort(5, 8) prints: 5' 8"
Computers and Technology
1 answer:
avanturin [10]3 years ago
7 0

Answer:

Follows are the progrm to this question:

#include <iostream>//defining header file

using namespace std;

void printFeetInchShort (int numFeet , int numInches)//defining a method printFeetInchShort

{

cout<<numFeet <<"'"<<numInches<< " \" ";//print value with ' and "

}

int main()//defining main method

{

printFeetInchShort(5,8);//call method by pssaing integer value

   return 0;

}

Output:

5'8 "  

Explanation:

In the above-given program, a method "printFeetInchShort" is defined, that accepts two integer variable, that is "numFeet and numInches" in its parameters.

  • Inside the method, a print method is used that prints integer variable value with " '  and " " value.
  • At the last step, the main method is defined, which calls the above-given method by passing integer value in its parameters.      

You might be interested in
Which technologies are currently used in health ​
GaryK [48]
1. Portable Monitors. ...
2. Smart Beds. ...
3. Wearable Devices. ...
4. Electronic Health Records. ...
5. Centralized Command Centers. ...
6. Telehealth and Apps.
7 0
2 years ago
Identify the potential impact to IT security of incorrect configuration of firewall policies and third- party VPNs
yan [13]

Answer:

why is it necessary to fight against social evils and problem

5 0
3 years ago
Why should you open your door with your right hand when parked on a right-side curb?
meriva

Answer:

B. So that you will be forced to look behind the car for an approaching bicyclist.

Explanation:

The main reason for opening with your right hand in this scenario is so you can look behind you for a bicyclist, etc. It's a good practice as you never know if someone is behind you or of the likes. Many people usually open the door with their left hand. The problem with this is that they're not forced to look behind them and can be oblivious to people, bicyclists, etc. behind them.

<u>Hope this helps and have a nice day!</u>

5 0
4 years ago
Please help me with this question. I don’t get it
IRISSAK [1]

Answer:

d

Explanation:

i took the test

3 0
3 years ago
Read 2 more answers
Kevin would like to ensure that his software runs on a platform that is able to expand and contract as needs change. Which one o
Reil [10]

A terminology which best describe Kevin's goal in terms of expansion and contraction as needs change is: A. Scalability.

<h3>What is scalability?</h3>

Scalability can be defined as a measure of the ability of a system to change (expansion or contraction) in performance and cost as a result of changes in demands of application and system processing, especially in a network architecture.

In this context, we can logically deduce that a terminology which best describe Kevin's goal in terms of expansion and contraction as needs change is scalability.

Read more on scalability here: brainly.com/question/14301721

#SPJ1

Complete Question:

Kevin would like to ensure that his software runs on a platform that is able to expand and contract as needs change.  Which one of the following terms best describes his goal? A. Scalability B. Elasticity C. Cost effectiveness D. Agility

8 0
2 years ago
Other questions:
  • How many possible values will an eight bit audio sample have
    14·1 answer
  • Clunker Motors Inc. is recalling all vehicles from model years 1995-1998 and 2004-2006. Given a variable modelYear write a state
    11·1 answer
  • How does a pond form?
    7·1 answer
  • All wireless networks have their own name, referred to as the ________, which is used to identify the network.
    11·1 answer
  • A certain string-processing language offers a primitive operation which splits a string into two pieces. Since this operation in
    10·1 answer
  • A green screen should be lit with which two lights?
    6·2 answers
  • Select the tips you should follow when writing a business report.
    12·1 answer
  • Why is the term RAW image file generally used to describe a variety of file formats, which are sometimes known as digital raw ca
    13·1 answer
  • Why is it important to prevent financial loss
    7·1 answer
  • Hey! I was recommended a site “9anime” the other day. All’s been going well but I accidentally taped on a new dub settingZ somet
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!