Answer:
1. cout << "Num: " << songNum << endl;
2. cout << songNum << endl;
3. cout << songNum <<" songs" << endl;
Explanation:
//Full Code
#include <iostream>
using namespace std;
int main ()
{
int songNum;
songNum = 5;
cout << "Num: " << songNum << endl;
cout << songNum << endl;
cout << songNum <<" songs" << endl;
return 0;
}
1. The error in the first cout statement is that variable songnum is not declared.
C++ is a case sensitive programme language; it treats upper case and lower case characters differently.
Variable songNum was declared; not songnum.
2. Cout us used to print a Variable that has already been declared.
The error arises in int songNum in the second cout statement.
3. When printing more than one variables or values, they must be separated with <<
Answer:
Carpenter — A carpenter is someone who works with wood. They build houses and make cabinets etc.
Logging — Loggers are people who cut trees. They use strong chain saws to cut trees.
Shipwrights — Shipwrights build, design, and repair all sizes of boats.
Wood Machinist — Wood Machinists repair and cut timber or any kind of wood for construction projects. They also operate woodworking machines, as their name suggest.
Furniture finishers — Furniture finishers shape, decorate, and restore damaged and worn out furniture.
The height at which the mass will be lifted is; 3 meters
<h3>How to utilize efficiency of a machine?</h3>
Formula for efficiency is;
η = useful output energy/input energy
We are given
η = 60% = 0.6
Input energy = 4 KJ = 4000 J
Thus;
0.6 = useful output energy/4000
useful output energy = 0.6 * 4000
useful output energy = 2400 J
Work done in lifting mass(useful output energy) = force * distance moved
Useful output energy = 800 * h
where h is height to lift mass
Thus;
800h = 2400
h = 2400/800
h = 3 meters
Read more about Machine Efficiency at; brainly.com/question/3617034
#SPJ1