Think about it and feel that life is still full of positive energy.

Source: Internet
Author: User

A tough programmer! It's okay. Just masturbate! Think about positive energy every day! It's not a problem to buy a house and buy a car with a wife and children!

Function showmoney (basemoney, increase, years) {var amountmoney = 0; For (VAR I = 1; I <years + 1; I ++) {console. log ("the" + I + "year's salary" + basemoney + "Yuan"); basemoney + = basemoney * increase; amountmoney + = basemoney * 12; console. log ("no." + I + "total salary per year" + basemoney * 12 + "RMB");} console. log ("this is you" + years + "the total annual salary is" + amountmoney + "Yuan"); Return amountmoney;} function usemoney (basemoney, increase, years) {var amountmoney = 0; For (VAR I = 1; I <years + 1; I ++) {console. log ("the" + I + "monthly cost" + basemoney + "Yuan"); basemoney + = basemoney * increase; amountmoney + = basemoney * 12; console. log ("from work to the" + I + "total cost per year" + basemoney * 12 + "Yuan");} console. log ("this is your" + years + "Total overhead for the year is" + amountmoney + "Yuan"); Return amountmoney ;}


Think about it and feel that life is still full of positive energy.

Related Article

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.