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
A company from the United Kingdom uses British pounds in its normal operations, reports in the European Union in euros, and repo
Dafna1 [17]

Answer:

The British pound

Explanation:

The functional currency of a company is the currency used in the primary economic environment in which the company operates. This means that the company's functional currency is the currency used in the place where the company earns its revenues and pays its expenses. In this case, the company operates in the United Kingdom, therefore its functional currency is the British pound.

7 0
4 years ago
The best way to build a strong network of people who help you is to
Andrej [43]
Communicate positively, and encourage other people
7 0
3 years ago
Read 2 more answers
Which sentences in this paragraph describe two government policies that liberalize the economy? The government of a country obse
ehidna [41]
<span>(C) "In addition, it introduces a policy to provide free education to all children up to grade 10." This step is aimed at producing more skilled labor. I hope this helps you! <3</span>
6 0
3 years ago
Read 2 more answers
What is the correct answer...A, B, or C?
Mamont248 [21]
B, to avoid potential liability issues
5 0
4 years ago
Describe what a monopoly, a cartel, and a trust are. In a one paragraph response, compare and contrast the three.
Anettt [7]
Monopoly: possession or control of a supply or trade in service. (in other words a business with little to no competition. Not common in the US.)Cartel: association of manufacturers with purpose of setting prices high to restrict competition. 
8 0
3 years ago
Other questions:
  • Investors require a return of 13 percent on the stock for the first three years, a return of 11 percent for the next three years
    14·1 answer
  • What is one result thats occured because of the Advent of the internet
    12·1 answer
  • Which of the following statements concerning the procurement process are TRUE?a. Vendor billing is one of the steps.b. Only one
    15·1 answer
  • Holiday Brands issued $22 million of 7%, 30-year bonds for $19.5 million. What is the amount of interest that Holiday will pay s
    13·1 answer
  • William Jenkins and Natalie Monk owned a building in Sacramento, CA. In 1979, they leased the building to Tuneup Masters for 5 y
    12·1 answer
  • What are the benefits of new manufacturing technoligies
    13·1 answer
  • You have a good friend from india who has done very well as after college. his work in telecommunications has landed him a job t
    7·1 answer
  • Question Number 1) The associates at each Pet Food Express are knowledgeable about the products and are committed to each custom
    15·1 answer
  • The impact of discrimination behaviour to an individual ​
    11·1 answer
  • Lisa’s pizza is trying to compete with the larger domino’s pizza down the street for customers. She feels she can deliver a bett
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!