Hello,
Well my advice for Sara when using the web would be 3 things.
1: Never tell anyone where you live,Your name, Or any other personal information.
This is important as it will keep you safe and others that are in your family.
2: Get anti virus hardware on your devise.
This will help to stop bad people, and bugs/glitches,this will also protect you from information thieves.
3: Make sure to keep your passwords saved on paper.
I know a lot of people use, google(ect.) to save there passwords to make everything easy, but a good way to never loss them is to wright them down.
Have a great day!
Answer: -1 usually represents infinity.
Explanation:
It would keep going forever and not be able to stop without manually stopping it.
Answer:
#include<iostream>
using namespace std;
int main (){
int n1, n2;
cout<<"Enter 1st number";
cin>>n1;
cout<<"Enter 2nd number";
cin>>n2;
if(n1<n2){
cout<<"The 1st number is the smallest"<<endl<<" is= "<<n1;
}
else{
cout<<"The 2nd number is the smallest"<<endl<<" is= "<<n2;
}
}
return 0;
Complete Question:
A campus bookstore sells both types and in the last semester sold 56% laptops and 44% desktops. Reliability rates for the two types of machines are quite different, however. In the first year, 5% of desktops require service, while 15% of laptops have problems requiring service.
Given that a computer required service, what is the probability that it was a laptop?
Answer:
Probability = 0.084
Explanation:
Given
Laptops = 56%
Desktop = 44%
Service Required (Laptop) = 15%
Service Required (Desktop) = 5%
Required
Determine the probability that a selected computer is a laptop and it requires service.
The question tests our knowledge of probabilities using "and" condition.
What the question requires is that, we calculate the probability of selecting a LAPTOP that REQUIRES SERVICE
Note the capitalised words.
This will be calculated as follows:
Probability = P(Laptop) and P(Service Required (Laptop))
[Substitute values for P(Laptop) and P(Service Required (Laptop))]
Probability = 56% * 15%
[Convert to decimal]
Probability = 0.56 * 0.15
Probability = 0.084