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
Lina20 [59]
4 years ago
8

An application calculates an ending inventory amount based on a beginning inventory amount, sales, and returns. You need to crea

te a function to calculate the ending inventory using three passed Integer variables: intBegin, intSales, and intReturns. Which procedure headers should be used?
Computers and Technology
1 answer:
Bogdan [553]4 years ago
8 0

Answer:

Private Function CalculateInventory(ByVal intBegin As Integer, ByVal intSales As Integer, ByVal intReturns As Integer) As Integer

Explanation:

In Visual Basic Programming language a function header begins with the access modifier, in this case private, this is followed by the keyword function then the name of the function in this case CalculateInventory. We specify that the function will take three parameters as stated in the question and the function will return an Integer value. When this function is called, the three parameters will have to passed to it as arguments.

You might be interested in
1. What arguments can you make for the idea of a single language for all programming domains
SVEN [57.7K]

Answer:

The answer to this question defined below.

Explanation:

It's a smart idea to get a common language for coding of every kind. It would help all developers and customers understand the language better because, in every case, there's no more need to learn, that language.  

  • This could also render software developed in the very same language consistent, and therefore, ports on multiple platforms are not required.
  • In this process, we talk about the common property and function of the classes, that's why it is the correct answer.
3 0
3 years ago
Use sample program from called getopt.c (provided below)
GREYUIT [131]
Beasts shush shrub Nehru need Brid Nehru
6 0
4 years ago
Using a script (code) file, write the following functions:
vagabundo [1.1K]

Answer:

def func1(x):

   return (x-32)*(5/9)

def func2(x):

   return (x/2.237)

def main():

   x = ""

   while x != "x":

       choice = input("Enter 1 to convert Fahrenheit temperature to Celsius\n"

                      "Enter 2 to convert speed from miles per hour to meters per second: ")

       if choice == "1":

           temp = input("please enter temperature in farenheit: ")

           print(func1(float(temp))," degrees celcius.")

       elif choice == "2":

           speed = input("please enter speed in miles per hour: ")

           print(func2(float(speed))," meters per second")

       else:

           print("error... enter value again...")

       x = input("enter x to exit, y to continue")

if __name__ == "__main__":

    main()

Explanation:

two function are defines func1 for converting temperature from ferenheit to celcius and func2 to convert speed from miles per hour to meters per second.

5 0
3 years ago
Suppose that a disk drive has 5000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 143, and
bazaltina [42]

Answer:

a. The FCFS schedule is 143, 86, 1470, 913, 1774, 948, 1509, 1022, 1750,130. The total seek distance is 7081.

This is the first come, first serve schedule

b. The SSTF schedule is 143, 130, 86, 913, 948, 1022, 1470, 1509, 1750,1774. The total seek distance is 1745.

Shortest seek time first scheduling

c. The SCAN schedule is 143, 913, 948, 1022, 1470, 1509, 1750, 1774,4999, 130, 86. The total seek distance is 9769.

d. The LOOK schedule is 143, 913, 948, 1022, 1470, 1509, 1750, 1774, 130, 86. The total seek distance is 3319.

e.The C-SCAN schedule is 143, 913, 948, 1022, 1470, 1509, 1750, 1774,4999, 86, 130. The total seek distance is 9813

6 0
3 years ago
Giving Brainliest IFFF CORRECT
prohojiy [21]

Answer:

line graph

Explanation:

the change in weight is linear

5 0
4 years ago
Other questions:
  • Explain the difference between the term graphic communication and printing
    7·1 answer
  • 3. The channel bit error rate is 0.00001, and each packet’s total length is 1024 bytes including all overheads. Assume there are
    12·2 answers
  • Which category of system software provides a platform for application software to run on?
    12·2 answers
  • How does computer store binary digits?​
    11·1 answer
  • Yuri, a medical assistant, has been asked to send an account of a patient's last office visit to another doctor's office. The te
    6·2 answers
  • A pre-design document you can use to create a new project quickly
    5·1 answer
  • Write a C++ program that consist
    5·1 answer
  • Why are visually interesting effects, such as WordArt, to be used sparingly?
    5·2 answers
  • The temperature at 8 AM was 44°F and at noon it was 64°F. what was the percent of change from 8 AM to noon?
    11·1 answer
  • Vector images take up much less space when saved to a computer or storage device because computers and storage devices just need
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!