is used to create the name for the web page do i guess is used to create heading
Answer:
i think Make variables to represent the length and width of a rectangle, called length
and width
, respectively. You should set length
to 10 and width
to 5.
Then, write some mathematical expressions to computer the area and perimeter of the rectangle and save these values inside variables named area and perimeter
.Use print
statements to display the area and perimeter of the rectangle.
Your output should print the area on the first line and the perimeter on the second, like this:
50 30 Rectangle Area Formula:
Area = L * W
Explanation:
One very important thing to consider is to read more about the person who gave the advice to you. For example, did the person ever achieve anything great? What does the person eat, and daily habits
Answer:
C++ programming language (code) was used or applied in prompting a user to enter he number of series components in a system and the MTBFs for each component and then calculates the overall MTBF for the system using a FOR or a WHILE structure (loop).
Explanation:
Solution
THE CODE
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int key;
// do while loop to run the program up to user wants to quit "to quit enter any number except 1 "
do
{
int n,i=0,mtbf[100]; //declaring array to store the mtbf values of the n components
float result=0,result1;
cout<<"\n Enter number of components";
cin>>n;
while(i<n) // reading mtbf values into the array
{
cout<<"\n Enter MTBF(Mean time between failure)==>";
cin>>mtbf[i];
i++;
}
i=0;
while(i<n) //in this while loop first i calculate the denominator part i.e (1/mtbf[i])+(1/mtbf[i])...
{
result+=(1.0/mtbf[i]);
i++;
}
result1=1/result; //this value calculate the total MTBF of the system
cout<<"\n The MTBF of SYSTEM is\t"<<result1;
cout<<"\n Another system to check? enter 1 for yes";
cin>>key;
}while(key==1);
}
Answer:
- Surge suppressor.
- Magnets.
- cool
- air
- power.
Explanation:
A surge suppressor is used to prevent electronic equipment from power fluctuations.
Magnets affects the older storage technology such as floppy disks as they use magnetic tapes.Magnets affect the newer systems because they uses the solid state technology.
Components such as fans,cooling liquids are used to keep the components from overheating.
Compressed air can blows air with very high velocity hence it cleans the dirt on the desk.
The full form of UPS is Uninterruptible Power Supply.