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
8

Which of the following statements invokes the GetDiscount function, passing it the contents of two Decimal variables named decSa

les and decRate? The statement should assign the function's return value to the decDiscount variable.
A. decDiscount = Call GetDiscount(decSales, decRate)
B. Call GetDiscount(decSales, decRate, decDiscount)
C. decDiscount = GetDiscount(decSales, decRate)
D. none of the above
Computers and Technology
1 answer:
MrRissso [65]3 years ago
4 0

Answer:

C.

Explanation:

decDiscount = GetDiscount(decSales, decRate)

is the correct statement. The function GetDiscount has two parameters "decSales" and "decRate", the result from the function is assigned to "decDiscount".

You might be interested in
When measuring processor speed,a megahertz is much faster than a gigahertz.true or fals
Nat2105 [25]

Answer: False

Explanation:

The statement in the question is wrong. When measuring processor speed, a megahertz is slower than a gigahertz.

We should note that:

1 megahertz = 1 million cycles per second

1 gigahertz = 1 billion cycles per second.

Therefore, we can see that a gigahertz is faster than a megahertz.

4 0
3 years ago
ASAP BRAINLIEST!!!
Andre45 [30]

Answer:

closed sounds right, dobt take my word for it doe

8 0
3 years ago
What does SFA software provides tools for
solong [7]
They provide tools for sfa spftware
5 0
3 years ago
Read 2 more answers
Yo, my Lenovo laptop keeps showing this screen but I can't sign in, can someone help me?
rusak2 [61]
Break your laptop and get a new one
8 0
3 years ago
Read 2 more answers
A student is helping a friend with a home computer that can no longer access the Internet. Upon investigation, the student disco
Alexxandr [17]

Answer:

Due to unreachable DHCP server

Explanation:

As we know that Dynamic Host Configuration Protocol, in short  DHCP is the network protocol which is used to central and automatic management of IP address with in the network.

So due to unreachable DHCP server a student could not able to connect with the internet.When the network connection break it means that DHCP server is offline.

So the answer is Due to unreachable DHCP server .

8 0
3 years ago
Other questions:
  • You would like to arrange the records alphabetically. You should _____.
    7·2 answers
  • Given the code segment below, complete the assignments as stated in the comments. struct aaa { int m; int nn; } struct bbb{ stru
    13·1 answer
  • An algorithm written out in plain English statements is called __________.
    8·1 answer
  • Which diagram is used as a popular technique for investigating causes and effects? 1. Cause and effect 2. Fishbone/lshikawa 3. R
    13·1 answer
  • + Use for loop to print numbers from 100 to 10
    11·1 answer
  • Rewritable (write, erase, write again) is known as _______.
    7·1 answer
  • What are the concerns surrounding 5G cellular networks?​
    6·1 answer
  • Think about the five steps to writing an algorithm. Why is each step necessary?
    6·2 answers
  • Output each floating-point value with two digits after the decimal point, which can be achieved by executing cout << fixed
    7·1 answer
  • Which of the following is NOT a reason we use subprograms?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!