Answer:
Written using C++
/*Enter Your Details Here*/
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
//1
float side;
cout<<"Enter the side of a square: ";
//2
cin>>side;
//3
float perimeter = 4 * side;
cout<<"The perimeter is "<<perimeter<<endl;
//4
float area = side *side;
cout<<"The area is "<<area<<endl;
//5
float diagonal = sqrt(2 * side * side);
cout<<"The length of the diagonal is "<<diagonal;
return 0;
}
Explanation:
<em>I've added the full source code as an attachment where I used more comments to </em><em>explain </em><em>difficult line</em>
They should use fiber cable because it is faster and more reliable
Answer:
When a programmer tries to access an item in an array cell whose index is greater than or equal to the array's logical size, this data element or item is garbage. This means that currently, the item is not the part of the program's useful data. Garbage contains objects or data which will not be used by a program running on it. So the value returned could be either of the two:
- Value would be an arbitrary or random number if it is an array of numbers. Arbitrary means that the value is not predefined or specified in advance.
- Value returned would be null if it is an array of objects.
Answer: A. Using different cell styles can help you differentiate different types of data.
B. Fonts should be easily readable and of appropriate size.
D. Be consistent with themes across worksheets and workbooks.
Explanation:
A theme refers to the preset package that contains functionality details and graphical appearance.
The guidelines for using themes include:
• Using different cell styles can help you differentiate different types of data.
• Fonts should be easily readable and of appropriate size.
• Be consistent with themes across worksheets and workbooks.
Therefore, the correct options are A, B and D.