Answer:
#include <iostream>
using namespace std;
int main()
{
int exam1 = 70;
int exam2 = 85;
int examAverage;
examAverage = (exam1+exam2)/2;
cout <<"The Average of Exam1 and Exam2 is: "<<examAverage<<endl;
return 0;
}
Explanation:
Using the C++, we declare the three variables all of type
exam1
exam2 and
examAverage
We assign initial values of 70 and 85 to exam1 and exam2 respectively
<u>Threat </u>is some danger that can exploit a vulnerability.
<h3>What is Threat?</h3>
Threat is seen as Anything that can be able to take advantage of a vulnerability, intentionally as well as accidentally, and take or damage, the asset of a person.
Note that a threat is that which a person or firm is protect against and Vulnerability is seen as Weaknesses.
Therefore, <u>Threat </u>is some danger that can exploit a vulnerability.
Learn more about vulnerability from
brainly.com/question/25633298
#SPJ1
num = int(input("Enter a number: "))
i = 2
while num > 1:
if num % i == 0:
num = num / i
print(i, end=" ")
i = 2
i += 1
I hope this helps!