diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/.keep" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/.keep" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/00.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/00.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/00.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/00.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/01-\344\275\223\351\252\214js.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/01-\344\275\223\351\252\214js.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/01-\344\275\223\351\252\214js.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/01-\344\275\223\351\252\214js.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/02-js\344\271\246\345\206\231\344\275\215\347\275\256-\345\206\205\351\203\250.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/02-js\344\271\246\345\206\231\344\275\215\347\275\256-\345\206\205\351\203\250.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/02-js\344\271\246\345\206\231\344\275\215\347\275\256-\345\206\205\351\203\250.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/02-js\344\271\246\345\206\231\344\275\215\347\275\256-\345\206\205\351\203\250.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/03-js\344\271\246\345\206\231\344\275\215\347\275\256-\345\244\226\351\203\250.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/03-js\344\271\246\345\206\231\344\275\215\347\275\256-\345\244\226\351\203\250.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/03-js\344\271\246\345\206\231\344\275\215\347\275\256-\345\244\226\351\203\250.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/03-js\344\271\246\345\206\231\344\275\215\347\275\256-\345\244\226\351\203\250.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/04-js\344\271\246\345\206\231\344\275\215\347\275\256-\350\241\214\345\206\205.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/04-js\344\271\246\345\206\231\344\275\215\347\275\256-\350\241\214\345\206\205.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/04-js\344\271\246\345\206\231\344\275\215\347\275\256-\350\241\214\345\206\205.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/04-js\344\271\246\345\206\231\344\275\215\347\275\256-\350\241\214\345\206\205.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/05-\347\273\223\346\235\237\347\254\246\344\270\216\346\263\250\351\207\212.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/05-\347\273\223\346\235\237\347\254\246\344\270\216\346\263\250\351\207\212.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/05-\347\273\223\346\235\237\347\254\246\344\270\216\346\263\250\351\207\212.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/05-\347\273\223\346\235\237\347\254\246\344\270\216\346\263\250\351\207\212.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/06-\350\276\223\345\205\245\345\222\214\350\276\223\345\207\272\350\257\255\346\263\225.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/06-\350\276\223\345\205\245\345\222\214\350\276\223\345\207\272\350\257\255\346\263\225.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/06-\350\276\223\345\205\245\345\222\214\350\276\223\345\207\272\350\257\255\346\263\225.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/06-\350\276\223\345\205\245\345\222\214\350\276\223\345\207\272\350\257\255\346\263\225.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/07-\345\217\230\351\207\217\347\232\204\344\275\277\347\224\250\344\270\216\346\233\264\346\226\260.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/07-\345\217\230\351\207\217\347\232\204\344\275\277\347\224\250\344\270\216\346\233\264\346\226\260.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/07-\345\217\230\351\207\217\347\232\204\344\275\277\347\224\250\344\270\216\346\233\264\346\226\260.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/07-\345\217\230\351\207\217\347\232\204\344\275\277\347\224\250\344\270\216\346\233\264\346\226\260.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/08-\350\276\223\345\205\245\347\224\250\346\210\267\345\220\215\346\241\210\344\276\213.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/08-\350\276\223\345\205\245\347\224\250\346\210\267\345\220\215\346\241\210\344\276\213.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/08-\350\276\223\345\205\245\347\224\250\346\210\267\345\220\215\346\241\210\344\276\213.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/08-\350\276\223\345\205\245\347\224\250\346\210\267\345\220\215\346\241\210\344\276\213.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/09-\344\272\244\346\215\2422\344\270\252\345\217\230\351\207\217.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/09-\344\272\244\346\215\2422\344\270\252\345\217\230\351\207\217.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/09-\344\272\244\346\215\2422\344\270\252\345\217\230\351\207\217.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/09-\344\272\244\346\215\2422\344\270\252\345\217\230\351\207\217.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/10-\345\217\230\351\207\217\347\232\204\345\221\275\345\220\215\350\247\204\350\214\203.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/10-\345\217\230\351\207\217\347\232\204\345\221\275\345\220\215\350\247\204\350\214\203.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/10-\345\217\230\351\207\217\347\232\204\345\221\275\345\220\215\350\247\204\350\214\203.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/10-\345\217\230\351\207\217\347\232\204\345\221\275\345\220\215\350\247\204\350\214\203.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/11-\350\276\223\345\205\245\345\247\223\345\220\215\345\271\264\351\276\204\346\241\210\344\276\213.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/11-\350\276\223\345\205\245\345\247\223\345\220\215\345\271\264\351\276\204\346\241\210\344\276\213.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/11-\350\276\223\345\205\245\345\247\223\345\220\215\345\271\264\351\276\204\346\241\210\344\276\213.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/11-\350\276\223\345\205\245\345\247\223\345\220\215\345\271\264\351\276\204\346\241\210\344\276\213.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/12-let\345\222\214var\347\232\204\345\214\272\345\210\253.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/12-let\345\222\214var\347\232\204\345\214\272\345\210\253.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/12-let\345\222\214var\347\232\204\345\214\272\345\210\253.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/12-let\345\222\214var\347\232\204\345\214\272\345\210\253.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/13-\344\275\223\351\252\214\346\225\260\347\273\204.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/13-\344\275\223\351\252\214\346\225\260\347\273\204.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/13-\344\275\223\351\252\214\346\225\260\347\273\204.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/13-\344\275\223\351\252\214\346\225\260\347\273\204.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/14-\345\270\270\351\207\217.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/14-\345\270\270\351\207\217.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/14-\345\270\270\351\207\217.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/14-\345\270\270\351\207\217.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/15-\346\225\260\345\200\274\347\261\273\345\236\213.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/15-\346\225\260\345\200\274\347\261\273\345\236\213.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/15-\346\225\260\345\200\274\347\261\273\345\236\213.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/15-\346\225\260\345\200\274\347\261\273\345\236\213.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/16-\350\256\241\347\256\227\345\234\206\347\232\204\351\235\242\347\247\257.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/16-\350\256\241\347\256\227\345\234\206\347\232\204\351\235\242\347\247\257.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/16-\350\256\241\347\256\227\345\234\206\347\232\204\351\235\242\347\247\257.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/16-\350\256\241\347\256\227\345\234\206\347\232\204\351\235\242\347\247\257.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/17-\345\255\227\347\254\246\344\270\262\347\261\273\345\236\213.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/17-\345\255\227\347\254\246\344\270\262\347\261\273\345\236\213.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/17-\345\255\227\347\254\246\344\270\262\347\261\273\345\236\213.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/17-\345\255\227\347\254\246\344\270\262\347\261\273\345\236\213.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/18-\346\250\241\346\235\277\345\255\227\347\254\246\344\270\262.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/18-\346\250\241\346\235\277\345\255\227\347\254\246\344\270\262.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/18-\346\250\241\346\235\277\345\255\227\347\254\246\344\270\262.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/18-\346\250\241\346\235\277\345\255\227\347\254\246\344\270\262.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/19-\345\205\266\344\273\226\344\270\211\347\247\215\347\261\273\345\236\213.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/19-\345\205\266\344\273\226\344\270\211\347\247\215\347\261\273\345\236\213.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/19-\345\205\266\344\273\226\344\270\211\347\247\215\347\261\273\345\236\213.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/19-\345\205\266\344\273\226\344\270\211\347\247\215\347\261\273\345\236\213.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20-\346\243\200\346\265\213\346\225\260\346\215\256\347\261\273\345\236\213.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/20-\346\243\200\346\265\213\346\225\260\346\215\256\347\261\273\345\236\213.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20-\346\243\200\346\265\213\346\225\260\346\215\256\347\261\273\345\236\213.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/20-\346\243\200\346\265\213\346\225\260\346\215\256\347\261\273\345\236\213.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS.md" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS.md" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS.md" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS.md" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/21-\351\232\220\345\274\217\350\275\254\346\215\242.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/21-\351\232\220\345\274\217\350\275\254\346\215\242.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/21-\351\232\220\345\274\217\350\275\254\346\215\242.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/21-\351\232\220\345\274\217\350\275\254\346\215\242.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/22-\346\230\276\347\244\272\350\275\254\346\215\242.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/22-\346\230\276\347\244\272\350\275\254\346\215\242.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/22-\346\230\276\347\244\272\350\275\254\346\215\242.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/22-\346\230\276\347\244\272\350\275\254\346\215\242.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/23-\346\261\202\345\222\214\346\241\210\344\276\213.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/23-\346\261\202\345\222\214\346\241\210\344\276\213.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/23-\346\261\202\345\222\214\346\241\210\344\276\213.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/23-\346\261\202\345\222\214\346\241\210\344\276\213.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/24-\347\273\274\345\220\210\346\241\210\344\276\213.html" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/24-\347\273\274\345\220\210\346\241\210\344\276\213.html" similarity index 100% rename from "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/24-\347\273\274\345\220\210\346\241\210\344\276\213.html" rename to "\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241024 \345\210\235\350\257\206JS/24-\347\273\274\345\220\210\346\241\210\344\276\213.html" diff --git "a/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241025 JS\347\273\203\344\271\240\351\242\230.md" "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241025 JS\347\273\203\344\271\240\351\242\230.md" new file mode 100644 index 0000000000000000000000000000000000000000..a5dd1966bf47235043e8ba864d7360b56f7a74f9 --- /dev/null +++ "b/\346\236\227\346\231\227\345\270\214/20241024 \345\210\235\350\257\206JS/20241025 JS\347\273\203\344\271\240\351\242\230.md" @@ -0,0 +1,185 @@ +# 一、每日作业-JavaScript第01天 + +## 简答题 + +1.依次说明下面各打印语句的输出结果? + +```javascript + const num = 10 10 + console.log( num + 11) 21 + console.log( num + '11') 1011 + console.log( num + +'11') 21 +``` + +2.依次说明下面各打印语句的输出结果 + +```javascript +const num = 10 +console.log( typeof num + '11') number11 +console.log( typeof (num + '11')) string +console.log( typeof (num + +'11')) number +``` + +## 编程题 + +### 获取用户信息 + +- 题目描述 + 依次询问并获取用户的姓名、年龄、性别,收集数据之后在控制台依次打印出来。 + 具体表现如下图: + + + + + +- 题目提示 + - 通过prompt来弹出提示框,收集用户信息 + - 通过变量保存数据 + +```html + + + + + 获取用户信息 + + + + + +``` + + + + + +### 增加年龄 + +- 题目描述 + 1、询问用户年龄,用户输入年龄后,把用户输入的年龄增加5岁 + 2、增加5岁后,通过弹出框提示用户 “ 据我估计,五年后,你可能XX岁了” + + + + + +- 题目提示 + + - 通过prompt来弹出提示框,收集用户信息 + - 通过变量保存数据 + - 转换数据类型(需要预习第二天的数据类型转换哟) + +```html + + + + + 增加年龄 + + + + + +``` + + + +### 计算银行卡余额案例 + +- 题目描述 + 1、用户输入总的银行卡金额,依次输入本月花费的电费,水费,网费。 + 2、页面打印一个表格,计算出本月银行卡还剩下的余额。 + + + +- 题目提示 + + - 思路: + 1.我们需要5个变量:银行卡总额、水费、电费、网费、银行卡余额 + 2.银行卡余额= 银行卡总额 – 水费 –电费 - 网费 + 3.第一步准备5个变量接受输入的数据 + 4.第二步计算银行卡余额 + 5.第三步页面打印生成表格,里面填充数据即可。 + 6.当然可以提前把html页面搭好。 + +```html + + + + + 计算银行卡余额 + + + +

银行卡余额计算

+ + + +```