Hello. My name is Zalgo and I am here to be of assistance with your problem. The answer to the question is B. The purpose of hazard lights are to warn other drivers to watch out and drive past you safely. They are not supposed to be used an excuse for when you decide to do illegal or dangerous parking.
Hope this helps.
"Stay Brainly and stay proud!" - Zalgo
(By the way, do you mind marking me as Brainliest? I'd greatly appreciate it. Thanks)
Stafford Leak Warren (July 19, 1896 - July 26, 1981) was an American physician and ... He was responsible<span> for the health and safety of the thousands of personnel ... The medical school had opened in 1925 and did not </span>graduate<span> its first class ... Brigadier</span>General<span> Leslie R. Groves, the director of the Manhattan </span>Project<span> </span>
Answer:
Program is written in C++
#include<iostream>
using namespace std;
int main()
{
//1. Prime Number
int num;
cout<<"Input Number: ";
cin>>num;
int chk = 0;
for(int i =2; i <num;i++)
{
if(num%i==0)
{
chk = 1;
break;
}
}
if(chk == 0)
{
cout<<num<<" is prime"<<endl;
}
else
{
cout<<num<<" is not prime"<<endl;
}
//2. Greatest Common Factor
int num1, num2, x, y, temp, gcf;
cout<<"Enter two numbers: ";
cin>>num1;
cin>>num2;
x = num1;
y = num2;
while (y != 0) {
temp = y;
y = x % y;
x = temp;
}
gcf = x;
cout<<"Greatest Common Factor: "<<gcf<<endl;
// 3. LCM
cout<<"Enter two numbers: ";
cin>>num1;
cin>>num2;
x = num1;
y = num2;
while (y != 0) {
temp = y;
y = x % y;
x = temp;
}
gcf = x;
int lcm =(num1 * num2)/gcf;
cout<<"Least Common Multiple: "<<lcm<<endl;
return 0;
}
Explanation:
<em>I've added the full source code as an attachment where I make use of comments to explain some lines</em>
Religious people are fearful morons oh and human progress but this is an opinionated question so you can't get this wrong