A list of multiple choices is given;
<span>a)
</span>Purchase a home in the city center instead.
<span>b)
</span>Rent the apartment anyway.
<span>c)
</span>Rent the apartment with a roommate.
<span>d)
</span>Purchase a home in the suburbs instead.
The answer is (C)
John should look for an apartment and share it with a
roommate. This will bring down rent expenses to 50% as both John and the
roommate will be cost sharing the rent. If the rent expenses go down by 50%, he’ll
be able to save an additional 10% and use it for other expenses.
Answer:
#include <bits/stdc++.h>
using namespace std;
void funct(){
string name;
cout<<"enter the string: ";
cin>>name;
reverse(name.begin(), name.end());
cout<<"The string is : "<<name<<endl;
}
int main()
{
funct();
return 0;
}
Explanation:
create the function funct() with return type void and declare the variable type string and print a message for asking to used enter the string.
The string enter by user is store in the variable using cin instruction.
after that, we use a inbuilt function reverse() which takes two argument.
firs argument tell the starting point and second index tell the ending point. then, the reverse function reverse the string.
name.begin() it is a function which return the pointer of first character of string.
name.end() it is a function which return the pointer of last character of the string.
finally, print the reverse string.
for calling the function, we have to create the main function and then call the function.
Answer:
<div>
Explanation:
The div tag explicitly called the division tag is an extremely important tag in Hypertext Markup Language and Cascading Style Sheets ecosystem. Like most of the other tags used during writing and styling web documents, the div tags plays an important role as it serves as a container which is capable of holding several HTML elements such as the head, body , paragraph tags and so on. All elements within the div tags can be easily styled using the same CSS style specification without having to take the more singular and tedious approach. They also aid fast manipulation using compatible languages. Hence, using the cajas attribute, several elements within a div can be styled at the same time. Also note that , line breaks are automatically placed before and after a tag.
Hence, the div tag is the most appropriate answer.
To take breaks and not do all the work at once.
Formatting that is selected for each cell individually related to a specific condition