Information should be cross-checked to ensure more than one source provides the same factual information.
<h3>What is
the source of information?</h3>
The source of information is the place, from where the data or information is generated. There are many sources of information, like internet, newspaper, television etc.
The options given in the problem regarding the information as,
- a. repeated
- b. cross-examined
- c. cross-lined
- d. cross-checked
There are many feck news and nonfactual data is present over the internet and other source of information.
To get the factual information, one should always cross-checked the information from other sources.
Thus, the information should be cross-checked to ensure more than one source provides the same factual information.
Learn more about the source of information here;
brainly.com/question/26169752
Explanation there is the rest in comments
Answer:
The solution code is as follows:
- #include <iostream>
- #include <fstream>
- #include <string>
- using namespace std;
- int main()
- {
- ifstream data;
- float number;
- float sum = 0;
-
- data.open("numbers.txt");
-
- while (data >> number) {
- sum = sum + number;
- }
- cout<<sum;
- return 0;
- }
Explanation:
Firstly, we create a ifstream object, <em>data</em> (Line 9). Then we can use the ifstream object to open the "numbers.txt" (Line 13) and use while loop to traverse through the number in the text file line by line (Line 15). White the loop is ongoing the number in each line is read by >> operator in a similar way to cin and then add each read number to sum variable (Line 16).
At last, display the output (Line 18).