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
Steve jobs designed the first apple computer
Answer:
Enables online download of music
Enables reading while exercising
Reduces the need for printing
Enables sending documents to multiple recipients
Provides savings on travel expenses by supporting virtual meetings
Provides flexible work schedules and environments
Explanation:
Answer:
txt = input("Enter numbers: ")
numbers = txt.split(" ")
total = 0
max = 0
for i in numbers:
total = total + int(i)
if(int(i)>max):
max = int(i)
print(round(total/len(numbers)))
print(max)
Explanation:
This solution is implemented using Python programming language
This prompts user for input
txt = input("Enter numbers: ")
This splits user input into list
numbers = txt.split(" ")
The next two line initialize total and max to 0, respectively
total = 0
max = 0
This iterates through the list
for i in numbers:
This sum up the items in the list (i.e. user inputs)
total = total + int(i)
This checks for the maximum
if(int(i)>max):
max = int(i)
This calculates and prints the average
print(round(total/len(numbers)))
This prints the max
print(max)
Answer:
In the case of generic software development, the developer has the control of all the decisions while with custom software development, the client is responsible of the decisions about the characteristics of the software.
This means for users of generic software products that they don't have control over the product.
Explanation:
-A generic software development refers to the creation of a product by a software development organization that will own it and sell it to customers. This software is created for the open market and is designed to solve a problem for many customers.
-A custom software development refers to the creation of a product by a software development organization for a client. This product is created according to the customer's needs and specifications in order to solve a specific problem of the client.