Answer:
There is no need to make an algorithm for this simple problem. Just add the two numbers by storing in two different variables as follows:
Let a,b be two numbers.
c=a+b;
print(c);
But, if you want to find the sum of more numbers, you can use any loop like for, while or do-while as follows:
Let a be the variable where the input numbers are stored.
while(f==1)
{
printf(“Enter number”);
scanf(“Take number into the variable a”);
sum=sum+a;
printf(“Do you want to enter more numbers? 1 for yes, 0 for no”);
scanf(“Take the input into the variable f”);
}
print(Sum)
Explanation:
hi there answer is given mar me as brainliest
Ang mararamdaman mo ay pananamlay at tila walang lakas. Ang mangyayari sayo ay magkakasakit ka at pag ipinagpatuloy mo parin ang hindi pag kain, baka hindi lang sakit aabotin mo kundi kamatayan.
Answer:
While the developed world benefits from the modern explosion of technology, countries like Ethiopia continue to rely on their forefathers' methods for important daily tasks such as farming, cooling, and providing clean water. These activities are often physically challenging, time and energy intensive, and are often carried out by female family members in many such societies. Furthermore, they can damage the local ecology and climate, such as deforestation and soil erosion caused by the use of trees for firewood. Western technologies are often too complicated, expensive, unacceptable, and difficult to maintain in developing societies, so they are of little or no use in these situations.
Answer:
<u>720</u> possible PIN can be generated.
Explanation:
To calculate different number of orders of digits to create password and PIN, we calculate permutation.
Permutation is a term that means the number of methods or ways in which different numbers, alphabets, characters and objects can arranged or organized. To calculate the permutation following formula will be used:
nPr = n!/(n-r)!
there P is permutation, n is number of digits that need to be organize, r is the size of subset (Number of digits a password contains)
So in question we need to calculate
P=?
where
n= 10 (0-9 means total 10 digits)
r= 3 (PIN Consist of three digits)
So by using formula
10P3 = 10!/(10-3)!
=10!/7!
= 10x9x8x7!/7!
= 10x9x8
= 720
Answer:
I Think You Could Go To Settings And Change It
Explanation:
I Think This Helps