Answer:
string() Its a derived data type
.. and you can modify strings
The following file format of inv_nbr, inv_name, inv_cost is called delimited format.
<h3>What is a delimited file in Excel?</h3>
The term "Delimited" is known to be a term that connote a form of an TXT file that tends to make use of tabs or an CSV file that uses commas to be able to separate and group your data.
Note also that a delimited file is seen as a form of a given sequential file that is made up of column delimiters.
Therefore, The following file format of inv_nbr, inv_name, inv_cost is called delimited format.
Learn more about text format from
brainly.com/question/16397886
#SPJ1
Multiple Choice
fixed-width format
extensible markup
delimited format
hypertext format
Answer:
Following are the code to the given question:
#include <iostream>//header file
using namespace std;
int NumberOfPennies(int ND, int NP=0)//defining a method that accepts two parameters
{
return (ND*100 +NP);//use return keyword that fist multiply by 100 then add the value
}
int main() //main method
{
cout << NumberOfPennies(5,6) << endl; // Should print 506
cout << NumberOfPennies(4) << endl; // Should print 400
return 0;
}
Output:
506
400
Explanation:
In the method "NumberOfPennies" it accepts two parameters that are "ND and NP" that uses the return keyword that multiply 100 in ND variable and add in NP variable and return its values.
In the main method it it uses the cout method that call the by accepts value in parameter and print its value.