write an algorithm to print the natural numbers from 1 to 15​

Answers

Answer 1

Answer:

1. n = [ ]

2. i = 0

3. j = i + 1

4. i = j

5. append i to n

6. Repeat 3 to 5

7. Stop when i = 15


Related Questions

Other Questions
10. Now, look at the political cartoon to the right andcomplete the statements below: I think the man standing on the boat represents I think the dragon represents I think the cannon represents In my opinion, the message of this politicalcartoon isTHE DRAGON'S CHOICE A child weighing 59 lb has a bad infection and is to be given Cefaclor.The dosage is 15 mg per kg.The drug will be delivered in an oral suspension with concentration 250 mg/5 mL.How many mL will she receive?Round to the nearest whole number.You will need to convert her weight to kg, using 1 kg = 2.2 lb. know about a child growth needs Nancy bought a vase as wedding gift .The cost excluding vat was R250.How much must she pay with VAT inclusive The diameter of a cylindrical water tank is 10 ft, and its height is 9 ft. What is the volume of the tank?Use the value 3.14 for w, and round your answer to the nearest whole number.Be sure to include the correct unit in your answer. Determine the Geometric mean of 18 and 27 pls help 10 points !! :)) In a school of 1200 students, the ratio ofthe number of teachers to students is 1 : 15.After some teachers join the school, the ratio ofthe number of teachers to students becomes 3:40.Find(i) the initial number of teachers in the school,(ii) the number of teachers who join the school. Can you describe how and why the molecules move from one side to the other? Algebra 2L.3 Multiply polynomials BGN need this done really quick ill give brainliest Read the sentences carefully. What do you think they mean?God created life, but He did so using natural processes which are open to scientific investigation.So in other words, according to this way of understanding how science and religion work together, God is the author of Creation, and evolution describes the mechanisms that He designed to produce life. what does noncollinear Presented below is information for Marin Company.1. Beginning-of-the-year Accounts Receivable balance was $23,100. 2. Net sales (all on account) for the year were $104,700. Marin does not offer cash discounts. 3. Collections on accounts receivable during the year were $85,400. Marin is planning to factor some accounts receivable at the end of the year. Accounts totaling $13,900 will be transferred to Credit Factors, Inc. with recourse. Credit Factors will retain 6% of the balances for probable adjustments and assesses a finance charge of 5%. The fair value of the recourse obligation is $1,075.Required:Prepare (summary) journal entries to record the items noted above. 3 mugs have the same capacity as 2 bottles. The capacity of 10 mugs and8 bottles is 15.4 l. Find the capacity of a mug. Please help me find the area of the figure. Its question number 8 The gene that causes brown fur in a rabbit develops amutation that results in white fur.How would this mutation most likely affect a rabbit that lives in a snowyclimate? Which statement describes particles of an ideal gas, based on the kinetic molecular theory? The price of a scooter was Rs. 34000 last year. It has increased by 25% this year. Then the increase price is? Please in step by step answer method. I will mark you branliest. Can someone please help!!! i really need it