Answer:
mark me brai list i request u
It gains purchasing power. Less money in circulation = more value.
The device which typically combines the capabilities of a scanner , fax ,and copying machine is called an input device.
Answer:
Option A: print("The total is %0.5f" % total)
Explanation:
To ensure the value is rounded to a precision of 5 digits, we have to create a formatted string which is %0.5f. The <em>.5</em> denotes five decimal places and <em>f </em>refers to float data type.
Next, we use the <em>%</em> operator again and followed with the variable <em>total</em>. The % is used as a string modulo operator that will interpolate the value held by the the variable <em>total </em>in the formatted string that we create previously. The interpolated value will be rounded to 5 decimal places. For example, if
total = 256.786789
The output will be 256.78679
Answer:
ofstream asia("asiasales2009.txt"); //It is used to open asiasales2009.txt files with the asia objects.
ofstream europe("europesales2009.txt"); //It is used to open europesales2009.txt files with the europe objects.
ofstream africa("africasales2009.txt");
//It is used to open africasales2009.txt files with the africa objects.
ofstream latin("latinamericasales2009.txt");//It is used to open latinamericasales2009.txt files with the latin objects.
Explanation:
- The above code is written in the c++ language which is used to open the specified files with the specified objects by the help of ofstream class as described in the question-statements.
- The ofstream is used to open the file in the c++ programing language, so when a user wants to use the ofstream to open the file in written mode, then he needs to follow the below syntax--
ofstream object("file_name_with_extension");