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
Stels [109]
3 years ago
11

Define a method printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. Ex: printfee

tinchshort(5, 8) prints:
Computers and Technology
1 answer:
ddd [48]3 years ago
8 0

Answer:

Following is printfeetinchshort method in Java:

 void printfeetinchshort (int numfeet, int numinches)

 {

   System.out.println (numfeet + "\'"+numinches+"\"");

 }

Explanation:

In the above method escape character (\) is used to print single inverted comma (') and double inverted comma (") using \' and \".

Following is the Java program to implement the above method:

public class Main

{

 public static void main (String[]args)

 {

   printfeetinchshort(5,8);

 }

 public static void printfeetinchshort (int numfeet, int numinches)

 {

   System.out.println (numfeet + "\'"+numinches+"\"");

 }

}

Following will be the output of above program:

5'8"

In the above program the method printfeetinchshort() is made as static so that it can called be by Main method directly and not through any object instantiation.

You might be interested in
What is a sloper
Andreas93 [3]

Answer:

Option 2: Sloper is a basic pattern in a garment.

Explanation:

Sloper is a building block of each patterns like stem cell is the beginning of everything. It is basically a generic pattern based on all the measurements we have.

Now we speaking in terms of computer language, can relate sloper with a function, which is a part of a program. We can alter a function to achieve desired and required results. Similarly, a sloper is a main part of the garment containing information about how to alter the garment to fit you perfectly.

So, without sloper we have nothing to design and having sloper means we have everything.

7 0
4 years ago
1. It is one way to attain one's holistic health condition.​
suter [353]

Answer:

It focuses on complete human body condition rather than single parts. The person should be healthy in all dimensions.

Explanation:

Holistic health condition is an ancient approach to a healthy life. This is a study where human is considered as healthy if he has no illness plus he is able to interact with others. he healthy condition depicts mind, soul and body. The health conditions are based on dimensions rather than single body function.

3 0
3 years ago
How long does it take to wash 12 t-shirts in the quickest way?​
Alex_Xolod [135]

Answer:

Please let me know also

3 0
4 years ago
Read 2 more answers
Jasper and Samantha are in a robotics competition. The guidelines state that the robots should be able to move a 10-gram weight
Inessa [10]

Answer:

evaluating a solution

Explanation:

just did the test :)

4 0
3 years ago
If you give someone ______ to your device, they can control it through another phone or computer.
icang [17]

If you give someone <u>Remote access </u>to your device, they can control it through another phone or computer.

<h3>What is  Remote entry?</h3>

An authorized user can use remote access to connect to a computer or network from a different location using a network connection. Users can connect to the systems they require through remote access even if they are physically far away.

Therefore, the dangers to remote access are:

  • There is a risk of device loss or theft due to a lack of physical security safeguards.
  • as the data is transmitted through a public internet, eavesdropping.
  • unapproved access to systems or data, possibly while oblivious to the screen.
  • If someone gets access to the gadget, they could watch and change the data.

Learn more about Remote access from

brainly.com/question/28900477
#SPJ1

5 0
2 years ago
Other questions:
  • Jesse is writing a physics quiz about the motion of a roller coaster cart. He has a clip art illustration of a cart rolling hori
    9·2 answers
  • Which is the output of the formula =AND(12&gt;6;6&gt;3;3&gt;9)
    6·1 answer
  • Write a statement that declares a PrintWriter reference variable named output and initializes it to a reference to a newly creat
    5·1 answer
  • What is the output of the following snippet if the user enters a value of 11 for the variable x and 4 for the variable y? x=int(
    5·1 answer
  • Consider the following relationship involving two entities, students and classes:A student can take many classes. A class can be
    9·1 answer
  • You are planning to buy a new server that will act as the server portion of a client/server application. A colleague of yours ma
    9·1 answer
  • What is presentation software in bussiness used for
    9·1 answer
  • Write code that prints: Ready! firstNumber ... 2 1 Run! Your code should contain a for loop. Print a newline after each number a
    15·1 answer
  • Can you help me with Computer issues graphic organizer?<br> Will give out brainly
    6·1 answer
  • To freeze rows 1 and 2, and columns 1, 2, and 3, which cell should you highlight before selecting freeze panes?.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!