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:
068
Explanation:
Or if you want binary it's 01000100
Answer:
arson, kidnapping, gun fighting
Explanation:
Answer:
Not exact, but it will help.
Explanation:
do something like this.
print("""
this program will help you plan your garden.
First, we need some information about the dimensions you want.
""")
while True:
try:
response = int(input("Please enter the side length for your garden (in feet) : "))
except ValueError:
print("(!)Please Enter A Number(!)")
print("")
continue
if str(response) == "":
continue
else
length = int(response)
break
repeat stuff like that up above for the rest, and then you can decide what to do with the variables and how they need to be multiplied for the output. Good luck!
Explanation:
is that motherboard is (computer hardware) the primary circuit board of a personal computer, containing the circuitry for the central processing unit, keyboard, mouse and monitor, together with slots for other devices while microprocessor is (computer hardware) the entire cpu of a computer on a single integrated .
Btw correct me if i sm wrong