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>
Answer:
All of the above.
Explanation:
Thrashing or drive or disk thrashing occurs when the hard drive is stressed with transferring information between the system memory and virtual machine excessively. In thrashing, there is a large number of processes running in the system and the system memory is too small to handle all processes. Thrashing leads to decreased system performance and hard disk failure.
To stop the impact of thrashing, install more RAM, end unimportant progam processes etc.
Answer:
none of them
Explanation:
the resistor is connected to the + pole of the battery, no circuit shows that.
a 1kΩ resistor would be brown-black-red, not brown black black.
Answer: probably 1080p (which is HD)
Explanation: Lcd monitors mainly support 1080p.
Answer:
Answered below.
Explanation:
This answer is applicable to Linux.
There are several commands for copying files in Linux. cp and rsync are the most widely used. cp though, is the command used to copy files and their contents.
To copy a file named report1.txt to another file named report1uc.txt in the current directory, the following command is run.
$ cp report1.txt report1uc.txt
You can change the case of the strings in the file by using the tr command.
tr [:lower:] [:upper:]
For example,
$ echo brainly | tr [:lower:]. [:upper:]
Result is BRAINLY.