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
snow_tiger [21]
3 years ago
10

Instructions: Following programs has some errors. Locate as many as you can.

Business
1 answer:
lbvjy [14]3 years ago
7 0

Answer:

#include <iostream>

using namespace std;

int main()

{

   double number1, number2, sum;

   cout<<"Enter a number: ";

   

   cin >> number1;

   

   cout<<"Enter another number: ";

   

   cin >> number2;

   sum = number1 + number2;

   

   cout <<"The sum of two numbers is "<< sum <<endl;

   return 0;

}

Explanation:

The correct program can be seen above.

You need to add  #include <iostream> and using namespace std; before your main function. Other issues are following;

Line 4, 5, 6, 7, 9 -> cout and cin must start with a lowercase letter

Line 5 -> cin >> number1;

Line 7 -> cin >> number2;

Line 8 -> sum = number1 + number2;

Line 9 -> cout << "The sum of two numbers is " << sum << endl;

You might be interested in
Mrs. Torres goes out of town on a business trip. She spends 3 nights in a hotel at a charge of $80 per night. She pays 9% tax on
Bumek [7]
We are given the different rates and charges and is asked in the problem the unknown tax rate she pays on meals if the total cost of the trip is equal ot $420.04. In this case, the equation goes: 
80 x 3 + 80 x 0.1 x 3 + 80 x 0.09 x 3 + 109.3 x 1.15 + 109. 3 x z = 420.04
z = 0.08 
6 0
3 years ago
Read 2 more answers
Each of the following situations is independent. Work out your own solution to each situation, and then check it against the sol
saw5 [17]

Morgan will get $1600 with the process of simple interest.

<h3>what is simple interest?</h3>

Simple interest is calculated based on a loan's principal or the initial deposit into a savings account. Simple interest doesn't compound, therefore a creditor will only charge interest on the principal sum, and a borrower will never be required to pay further interest on the interest that has already accrued.

Rate of interest = 12%

principal = $1000

Time = 5 years

Simple interest

=\frac{1000 \times 5 \times 12}{100}\\=600

Now amount = 1000+600 = 1600.

Therefore, Morgan will get $1600.

To learn more about simple interest from the given link

brainly.com/question/25793394

#SPJ4

8 0
2 years ago
Which of the following statements is true?
OlgaM077 [116]

Answer:

These statements are true:

A) The Federal Reserve does not set the Federal funds rate, but it influences it through the use of open market operations:

For example, at the very moment the Fed funds rate is 1.75%. If the Fed wanted to raise it to 2%, it would have to do so through the use of open market operations (in this case, because it wants to raise the rate, it would have to sell securities in order to reduce the money supply).

C) The Federal Reserve sets the target for the Federal funds rate, and then uses the reserve ratio to push banks toward that target.

Reserve requirements are perhaps the most powerful, and least often used, monetary policy tool that the Fed has at its disposal. It is very powerful because it directly increases or decreases the money supply.

For example, if the Fed wants to increase the fed funds rate, it can raise the reserve ratio so that banks keep more money in reserves, have less money to loan, and in consequence, create less money, causing the money supply to shrink and the fed funds rate to rise accordingly.

D) The Federal Reserve sets the Federal funds rate.

Correct. More specifically, the Federal Open Market Committee, which meets eight times a year to set the target for the fed funds rate.

3 0
3 years ago
Which of the following is included in the balance sheet? A. Revenue B. Salaries expense C. Utilities expense D. Accounts payable
Shkiper50 [21]
The answer is D. I hope it is correct
3 0
3 years ago
Read 2 more answers
Jenny has a high internal locus of control. She needs a job to help pay for her expenses. Based on what you know about her, whic
antoniya [11.8K]

Answer:A) Event organizer for a local politician.

Explanation:Locus of control is stern used to describe the degree or level to which people believe that events that happens to them are as a result of their actions as opposed to other external factors or influences.

A high internal locus of control is when a person has a strong belief that he or she is the main determinant of how events or things play out in their lives.

WITH A HIGH INTERNAL LOCUS OF CONTROL JENNY WILL PERFORM BETTER WHEN ASKED TO WORK AS AN EVENT PLANNER FOR A LOCAL POLITICIAN.

6 0
3 years ago
Other questions:
  • EB11.
    8·1 answer
  • A group of managers analyze both the internal strengths and weaknesses of their organization as well as the opportunities and th
    9·1 answer
  • A company purchased a new delivery van that cost
    15·2 answers
  • If the equilibrium interest rate in the money market is 5%, then at an interest rate of 2% sellers of interest-bearing financial
    9·1 answer
  • What factors of production will go into making the item
    15·1 answer
  • Wilvade Inc. has modified the work timings for its employees. The employees of the company believe that the new timings are inco
    8·1 answer
  • A finance lease agreement calls for quarterly lease payments of $5,376 over a 10-year lease term, with the first payment on July
    13·1 answer
  • When you ____________ you spend money on something with the expectation that it will return a greater value in the future.
    9·2 answers
  • Does the business able to make the most out of the fixed asset?
    6·1 answer
  • Free Brainlist lol<br><br> Last time im doing it cause im BROKE now i have 1 point (⌐■_■)
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!