Answer:
Around 2.2 grams.
Explanation:
2.2 g CO2∗1 mol CO244 g CO2=0.05 mol
355 mL∗1 L1000 mL=0.355 L
So here we can see we have about 0.05 mol/0.355 L or about 0.14 mol of carbon dioxide per liter of soda. Of course this value varies by manufacturer, type of drink, container, etc.
The program illustrates the use of string manipulations.
String manipulation involves carrying out several operations (such as splitting and reversing of strings).
The program in C++ where comments are used to explain each line is as follows:
#include <bits/stdc++.h>
using namespace std;
int main(){
//This declares a string variable
string str;
//This gets input for the variable
getline(cin, str);
//The following is repeated, until the user inputs <em>"Done", "done" or "d"</em>
while(str != "Done" && str !="done" && str !="d"){
//This reverses the string
reverse(str.begin(), str.end());
//This prints the reversed string
cout << str<<endl;
//This gets another input
getline(cin, str);
}
return 0;
}
At the end of each loop, the reversed string is printed.
See attachment for sample run
Learn more about similar programs at:
brainly.com/question/24833629
The answer is A. class C fire.
A class C fire involves energized electrical equipment.
Examples are: appliances, car motors, etc.
Answer: The first line intent
Explanation:
The first line intent is one of the type of intent and the first line of the text are mainly starts from the left margin. It is one of the most common method to start the line or text with the new paragraph. We use the tab key for creating the first line indent in the word.
In the first line indent the second line are basically known as the succeeding line of the text that contain the various indented bullets.
Answer:
The algorithm:
Input days
sum = 0
for i = 1 to 
input text
sum = sum + text
end for
average = sum/days
print average
The program in pascal:
var days, sum, text, i:integer;
var average : real;
Begin
write ('Days: '); readln(days);
sum:=0;
for i := 1 to
do 
write ('Text: '); readln(text);
sum:=sum+text;
end;
average := (sum/days);
writeln ('The average text is' , average);
End.
Explanation:
This declares all variables
var days, sum, text, i:integer;
var average : real;
This begins the program
Begin
This gets the number of days from the user
write ('Days: '); readln(days);
Initialize sum to 0
sum:=0;
This iterates through the days
for i := 1 to
do begin
This gets the text for each day
write ('Text: '); readln(text);
This sums up the texts
sum:=sum+text;
End loop
end;
Calculate average
average := (sum/days);
Print average
writeln ('The average text is' , average);
End program
End.