Every day of learning tasks, do not know the right or not, the sense of logic is not in place

Source: Internet
Author: User

1 //Question Fourth2 //var str= "";3 //For (Var i=1;i<=100;++i) {4 //if (i%3==0 && i%5==0) {5 //str+= "35,"6 //continue;7 //}else if (i%3==0) {8 //str+= "Three,";9 //continue;Ten //}else if (i%5==0) { One //str+= "Five," A //continue; - //                  } - //str+=i+ ","; the //              } - //document.write (str); -               - //question 11th + //var num=0; - //For (Var i=100000;i>=5000;--i) { + //if (i>50000) { A //i=i-i*0.05; at //++num; - //}else if (i<=50000) { - //i=i-5000; - //++num; - //                } - //            } in //document.write ("The wayward local tyrants can cross the" +num+ "intersection!");

Every day of learning tasks, do not know the right or not, the sense of logic is not in place

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.