Cool beans s s s s s s s s
Option a. Even if a file is designed to run on one platform, it can run on other simply by importing it.
Answer:
#include<iostream>
using namespace std;
int main()
{
int length = 16;
int width = 18;
int perimeter = (2*length) + (2 * width);
cout<<"The perimeter is: "<<perimeter<<endl;
}
Explanation:
First include the library iostream in the c++ program for input/output.
then, create the main function and define the variable with given values in the length and width.
After that calculate the perimeter by using the formula.
perimeter = 2*length + 2*width
and finally display the output on the screen by using the cout instruction.
Answer:
Nothing
Explanation:
If a seperator value is provided as an argument within the split() method and the string does not include that value then the string will remain the same and will not be split. If no value is provided as an argument within the split() method, then the string that the method is being applied to will automatically be split in every space character (" ") that exists within it. This is the default value of split() when no argument is passed to it.