For the first question, you would just add the parenthesis to the string mutation1:
String word = "sadly";
String mutation1 = "(" + word + ")";
For the second you need the method substring from the String class:
It is defined as String.substring(begining, ending);
String name = "Smith";
String firstCharacter = name.substring(0, 1);
0 is considered the beginning of the string, then you get the next 1 characters.
The Programmer wants to overload operators rather than use a regular member of the functions to perform similar operations because of two main reasons:
1. For easy and simpler definition of the functions. There would be one pointer who will call the function every time is needed in the program.
2. For easier comparisons of parameters.
Answer:
# include<iostream>
# include<math.h>
using namespace::std;
void calc (int num)
{
cout<<"Area of Square" <<num*num;
cout<<"Volume of a sphere" << (4/3) *3.14*num*num*num;
cout<<"Side of a Square" <<sqrt(num);
}
int main ()
{
int num;
cout<<"Enter the Number"; cin>>num;
calc(num);
return 0;
}
Explanation:
I have used the swtich for the selection purpose. Also, I have used sqrt() function, and for that I have included math,h library. And the various formula comes from mensuration. Rest part is self explanatory.
<h3>

</h3>
<h3> C. var salaries = new Array(39438,39839,83729) </h3>
Answer: False
Explanation:
Unguided medium employs an antenna for transmitting through air or vacuum.
For guided mediums the transmission is in the form of twisted copper wires, shielded twisted copper wire and optical fibres. They henceforth do not depend upon antennas for transmission through air using antennas.