For iteration to find origami over Everest height

Source: Internet
Author: User

     //While loop for loop deform to get while loop//The initial condition is taken to the front, the cyclic state changes to the last sentence of the loop body//For a while, the original semicolon is removed, leaving only the loop body//Accumulate sum 1-100//paper 0.07 mm, folding how many times can reach the height of Everest 8848 meters            inti =7, a=0;//defines the paper height I. Number of folds a             while(i<=884800000) {a++;//every time you foldI *=2;//twice times the height of the last time.} Console.WriteLine (a);        Console.ReadLine (); }

For iteration to find origami over Everest height

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.