Answer:
Let the two string type variables be var1 and var2. The value stored in these two variables is : The "use" of quotations causes difficulties.
- The variable which uses quoted string:
string var1 = "The \"use\" of quotations causes difficulties.";
- The variable which does not use quoted string:
string var2 = "The " + '\u0022' + "use" + '\u0022' + " of quotations causes difficulties.";
- Another way of assigning this value to the variable without using quoted string is to define a constant for the quotation marks:
const string quotation_mark = "\"";
string var2 = "The " + quotation_mark + "use" + quotation_mark + " of quotations causes difficulties.";
Explanation:
In order to print and view the output of the above statements WriteLine() method of the Console class can be used.
Console.WriteLine(var1);
Console.WriteLine(var2);
In the first statement escape sequence \" is used in order to print: The "use" of quotations causes difficulties. This escape sequence is used to insert two quotation marks in the string like that used in the beginning and end of the word use.
In the second statement '\u0022' is used as an alternative to the quoted string which is the Unicode character used for a quotation mark.
In the third statement a constant named quotation_mark is defined for quotation mark and is then used at each side of the use word to display it in double quotations in the output.
A Deceleration device.
A rope, wire rope, or strap with connectors at each end for connecting the 5 point body harness to a lifeline, or anchorage.
Look under OSHA Flashcards on Quizlet and..
OSHA: Fall Protection in Construction, Subpart M and just past that area in the document.
This is from that document on page 13 and 14:
Fall Restraint Systems: While fall restraint systems are not
mentioned in Subpart M, OSHA
recognizes a fall restraint system as
a means of prevention. The system,
if properly used, tethers a worker
in a manner that will not allow a
fall of any distance. This system is
comprised of a body belt or body
harness, an anchorage, connectors,
and other necessary equipment.
Other components typically include
Photo: Skip Pennington
OCCUPATIONAL SAFETY AND HEALTH ADMINISTRATION
1 4
a lanyard, a lifeline, and other devices. For a restraint system
to work, the anchorage must be strong enough to prevent the
worker from moving past the point where the system is fully
extended, including an appropriate safety factor.
*In a November 2, 1995 interpretation letter to Mr. Dennis
Gilmore, OSHA suggested that, at a minimum, a fall restraint
system must have the capacity to withstand at least 3,000
pounds or twice the maximum expected force that is needed
to restrain the person from exposure to the fall hazard. In
determining this force, consideration should be given to
site-specific factors such as the force generated by a person
(including his/her tools, equipment, and materials) walking,
slipping, tripping, leaning, or sliding along the work surface.
Answer:
#here is code in python.
# read the food bill
tot_bill=float(input("Please enter the food bill:"))
# tax on food
tax=0.06
#choice for tip by user
choice=int(input("enter your choice for tip:(1 for 15%, 2 for 18% and 3 for 20% :)"))
// calculate the total food bill
if choice==1:
tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.15)
elif choice==2:
tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.18)
elif choice==3:
tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.2)
else:
print("invalid choice:")
#print the total food bill
print("total food bill is ",tot_food_bill)
Explanation:
Read the food bill from user and assign it to variable "tot_bill".Initialize the tax=0.06 (i.e. 6%) on the bill.Then ask user to give his choice for tip. if the choice is 1 then tip will be 15%, if 2 then 18% and if choice is 3 Then tip will be 20% of the bill.Calculate the total food bill and assign it to variable "tot_food_bill".
Output:
Please enter the food bill:100
enter your choice for tip:(1 for 15%, 2 for 18% and 3 for 20% :)2
total food bill is 124.0
Answer:
B. lowering cholesterol
Explanation:
Edge 2021, made a 100 on the quiz. Good luck :)
The answer would be <span>It is designed to promote social interaction and community building.</span>