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
Answer:
zeroIt(&x);
Explanation:
The statement that sets the value stored in x to zero by invoking the function zerolt is given below
zeroIt(&x);
The zeroIt function is also given below for better understanding.
void zeroIt(int *x) {
*x = 0;
}
As seen, the function takes an argument with integer variable type, which is a pointer, denoted by the asterisk symbol (*x).
The ampersan sign (&x) is used to access the variable whose value can then be stored.
Explanation:
A centralized database (sometimes abbreviated CDB) is a database that is located, stored, and maintained in a single location.
Answer:
To find the solution of Global warming, to find the combination of some drugs and test them, etc.
Explanation:
Distributed computing can be described as when a number of computers connected on the network communicate with each other by passing messages, and these systems are known as distributed systems.
There are various goals that can be accomplished using distributed computing, one of them is to find the solution of Global warming, by coordinating with different areas.
Another one is to find the combination of some drugs and test them to make new medicine.