aayusha56
aayusha56 aayusha56
  • 23-08-2022
  • Computers and Technology
contestada

write an algorithm to find the sum of first 10 natural numbers​

Respuesta :

balqeeskhanfar2 balqeeskhanfar2
  • 23-08-2022
Supposed we have an array called A, the numbers on it.

Int count = 0
Int i = 0

While(count < 10 && iIf(A[i] >= 0){
count ++;
}
i++;
}
Answer Link

Otras preguntas

How did the Crusades directly cause the Renaissance?
Simplify (5n4)−3. Assume n ≠ 0.
exercise have benenfit when?​
PLEASE SOLVE ASAP! The sum of the measures of two complementary angles is equal to ____.
Which describes an atom that has fewer neutrons than protons and more electrons than protons? negative compound O positive compound positive ion negative ion
Kirby Frigo has opened a dog grooming business. Frigo, like other small business owners, probably will experience:
help on math question pls!!!!
MATH HELP ASAP What is the value of the expression when x equals -2 -x3+6 over -7 +x
I have tried 912850538475 times to solve this and I can't get it please someone help me with this );
How did the suburban home “specifically the kitchen” affect gender roles in the U.S. ?