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
crimeas [40]
3 years ago
12

A cubit is an ancient unit of length, roughly the distance between one’s fingers and elbow. The definition of one cubit is 18 in

ches. Write a program consisting of one script and one function. The script does the following: ▪ prompts the user for the number of cubits ▪ calls a function cubit2inch to convert this number to inches ▪ prints the result
Computers and Technology
1 answer:
kifflom [539]3 years ago
6 0

Answer:

  1. def cubit2inch(c):
  2.    inches = c * 18
  3.    print(inches)
  4. cubit = int(input("Enter number of cubits: "))
  5. cubit2inch(cubit)

Explanation:

The solution code is written in Python 3.

Firstly, write a function cubit2inch that takes one input parameter, c. In the function, apply the formula to convert the cubit to inches and print it (Line 2 - 3).

In the main program, we prompt user to input number of cubits and convert it to numerical and assign it to cubit variable (Line 5). Call the function to print the converted inches (Line 6).

You might be interested in
In c++ 11, the ________ tells the compiler to determine the variable's data type from the initialization value.
sergiy2304 [10]
<span>In describing an Initialization is when a value is assigned to a variable as part of the variable's definition or the assinged values to variables are defined whenever. 

The best answer would be is that they present the keyword,  when they tell the compiler.</span>
3 0
3 years ago
Please help
zvonat [6]

Answer:

First check the if the adapters on the router or site are connected (Ipconfig)

Next run a flush Dns to clear the sites dns logs (ipconfig/flushdns)

If non of that works you would run a restart on the server that is transfering data through the site.

If that doesn't work you will have to call a tech support from another company or your boss to tell him that there is nothing you can do and to ask for help!

Explanation:

Hopefully this helps! BTW I'm 13 so I wouldn't rely on my information that is personal what I would do though.

6 0
3 years ago
If you wouldn't want someone to photograph you doing something, don't photograph someone else in that situation either. True Fal
Sunny_sXe [5.5K]

In the United States, it's illegal for a photographer to use someone's likeness ... Model release forms contain conditions on working with people, and in some ... You'll need this release form if you want to publish photos of another person's ... If you don't want to take any legal risks, then use a photo release form to be safe.

4 0
3 years ago
This type of technology typically does NOT come with a keyboard or mouse for input.
anyanavicka [17]
The answer is C) tablet. You use the touch screen keyboard for that.
4 0
3 years ago
Read 2 more answers
A function prototype can always be omitted when: A function is defined before it is first invoked. A function does not return a
krok68 [10]

Answer:

A function is defined before it is first invoked.

Explanation:

A function prototype is a term in computer programming that is used as the declaration of a function that specifies function's name, parameters and return type. However, unlike function itself, which specifies what it does, a function prototype specifies function's interface only and not what it does.

Hence, A function prototype can always be omitted when: a function is defined before it is first invoked.

4 0
3 years ago
Other questions:
  • A soldier white line down the center of a two lane road indicates
    5·1 answer
  • As a trainer for Exempla Healthcare, Tina is faced with many challenges to properly training her new hires. There are over 40 di
    15·1 answer
  • Compare a Wi-Fi hotspot with a cybercafé.
    6·1 answer
  • Tablets combine the features of which two types of devices?
    10·2 answers
  • An effective problem statement ensures that
    12·1 answer
  • Carbon copy others who are..
    14·2 answers
  • Explain how devices on a lan access resources in a small to medium-sized business network.
    15·1 answer
  • A device that allows multiple computers to communicate with each other is
    9·1 answer
  • Which statement best describes desktop publishing?
    10·1 answer
  • Please help!!!!!!! 50 POINTS!!!!
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!