加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫CS170編程、代做Java程序設計

時間:2023-11-14  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯


CS170 – Computer Applications for Business

Fall 2023 • Assignment 8

Functions, Loops & Arrays

Due Date: Before 11:59 p.m. on Friday, November 10th

, 2023

Accept Until: Before 11:59 p.m. on Friday, November 17th, 2023

Evaluation: 25 points

Submit to Canvas: Assignment8.html file

Related Materials: JavaScript Reference Guide

Need help? TA office hours and Lab Support Schedule posted in Canvas

YOU ARE ON YOUR HONOR TO COMPLETE THIS ASSIGNMENT WITHOUT ASSISTANCE. You may

use your text and resources available to you through Canvas. You MAY NOT ask any human for

assistance, give assistance to anyone, or use any online tutoring service.

Use only the coding syntax taught to you during classes and recitations. The use of other

coding syntax may result in your work being marked for further review due to possible

unauthorized assistance.

Learning Objectives:

In general, this assignment is designed to practice JavaScript concepts from Chapters 17 top 20 of the

textbook. In particular, the following items will be useful for this assignment:

1. Creating functions

2. Calling functions

3. Creating and initializing arrays

4. Creating and using loops

5. Using Number() function to ensure values are treated as numbers and not strings

6. Using concatenation to add currency or percent symbols

7. Using toFixed(2) method to round to 2 decimal places

8. Reading and understanding the use of comments

To earn credit for this assignment:

1 You will create JavaScript code – embedded on an HTML file - according to the requirements listed

on the next pages.

2 Upload and submit a single html file (.html extension) containing the code required.

For your assignment to be graded, please include the following statement as a comment in the

<head> section of the program:

“ On my honor, I have neither received nor given any unauthorized assistance on this assignment.”

Page 1 of 6

PROBLEM DESCRIPTION

The Pet House provides pet boarding services. Pet owners can contract their services for a given number of

days while they are away on vacation or a business trip. As an option, the Pet House provides veterinarian

checkup. Their prices are as follows:

Pet Price per Day ($)

Dog 25

Cat 15

Hamster 10

Veterinarian Checkup (optional): $120 (fixed rate) regardless of the number of days contracted.

Sales Tax Rate: the Sales Tax for the program will be 7%.

You are required to implement the interface shown below which will use JavaScript to calculate the price for

each transaction. In addition, the program shall generate a report showing some statistical information.

A video of a sample run of this completed assignment is available on the assignment’s webpage on Canvas.

Note: See the illustration above and the sample video for examples of the inputs and

outputs required.

Page 2 of 6

Inputs needed:

 Pet Type: one of the following three: dog, cat, hamster.

 Number of Days: the number of boarding days contracted.

 Veterinarian Checkup: optional service.

Output required (produced by the Process button):

 Price: Number of Days x Price per Day (according to the table on this page) + Veterinarian Fee (if contracted).

 Final Price: Price + applicable Sales Tax.

 Note: Watch the Sample Video posted on Canvas (on the assignment 8 page)

 After all the inputs are processed, the “Process Statistics” button will be clicked on to generate a

report.

 The Report will be displayed on a separate webpage

 Note: See the Sample Report on the following page

 The Report will contain the following parts:

A Heading section with the following on separate lines:

 The Pet House (as heading)

 Statistics Report (as subheading)

 The Date/Time of the Invoice

Below the Heading, the transactions listed with the following on each line:

 Transaction: a sequential number starting with 1

 Pet

 Days

 Vet Checkup

 Transaction Price $

 Final Price $

Below the transactions:

 Total Transactions (before tax)

 Average Transaction (before tax)

 Total Days: total number of days contracted for all pets

 Average Number of Days: average number of days contracted for all pets

Additional Note:

 The document.write function should be used heavily to generate the report.

Requirements:

Arrays:

 Use four additional parallel array to hold the information that will be displayed on the report: pet type, days

contracted, veterinarian checkup choice, price per transaction.

Page 3 of 6

Functions

 Functions are required to:

 Initialize the four parallel arrays that will hold the transaction data: one array to hold pet types, another

one to hold days contracted, the next one to hold the veterinarian checkup choice and the last one to

hold the price of the transaction.

◦ Since some arrays will contain strings and some other arrays will contain numbers, two functions will be

required to initialize arrays: one to set element of array to empty strings and another to set elements of

an array to 0. In addition, a third function that adds up the elements of an array will be needed.

 Use loops to process the elements of the arrays.

SAMPLE TEST DATA and RESULTS

加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代寫Implementation of Graph Algorithms
  • 下一篇:代寫INFS 2042 Data Structures
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    四季av一区二区凹凸精品| 久久a爱视频| 日本国产欧美| 宅男噜噜噜66国产日韩在线观看| 日本亚洲免费观看| 日韩精品视频网站| 黄视频网站在线观看| 亚洲婷婷在线| 一本一道久久a久久| 欧美激情综合| 中文另类视频| 蜜桃av噜噜一区| 九九久久婷婷| 一区二区三区四区精品视频| 国产精品多人| 欧美aaa大片视频一二区| 亚洲一区二区毛片| 久久久久美女| 亚洲三区欧美一区国产二区| 欧美日韩ab| 成人午夜毛片| 神马午夜在线视频| 免费欧美在线| 狠色狠色综合久久| 国产伊人精品| 加勒比色综合久久久久久久久| 亚洲小说图片| 韩国一区二区三区视频| 国产日韩欧美一区二区三区在线观看| 欧美激情黄色片| 亚洲综合99| 尹人成人综合网| 蜜桃成人av| 欧美中文字幕一区二区| 麻豆精品少妇| 久久精品国产亚洲blacked| 日韩成人免费电影| 亚洲电影男人天堂| 91国产一区| 亚洲男女网站| 999精品嫩草久久久久久99| 日日夜夜免费精品| 日韩国产精品久久| 日日欢夜夜爽一区| 麻豆免费精品视频| 亚洲精品日本| 欧美日韩一区二区高清| 亚洲全部视频| 亚洲综合激情在线| 91精品麻豆| 国产一区二区电影在线观看| 国产亚洲字幕| 亚洲精品动态| 精品国产一区二| 亚洲小说春色综合另类电影| 97久久超碰| 久久天堂成人| 亚洲福利久久| 欧美日韩国产欧| 午夜宅男久久久| 国产精品国产三级国产在线观看| 欧美国产美女| 成人国产精品入口免费视频| 久久精品久久99精品久久| 久久精品99国产精品日本| 老鸭窝一区二区久久精品| 日本欧美一区二区| 99久久999| 日韩av电影天堂| 欧美调教在线| 黄色亚洲精品| 视频一区视频二区中文字幕| 国产伦子伦对白在线播放观看| 亚洲日本网址| 日韩精品电影一区亚洲| 综合视频在线| 久久亚洲精精品中文字幕| 国产调教精品| 99热免费精品| 狠狠躁少妇一区二区三区| 欧美黑人一区| 欧美日韩在线大尺度| 日韩av一区二| 亚洲高清av| 国产精品久久久久久久久妇女 | 欧美精品一区二区三区久久久竹菊| 日韩视频精品在线观看| 蜜臀av性久久久久av蜜臀妖精 | 亚洲第一网站| 丝袜美腿成人在线| 99亚洲伊人久久精品影院| 国内视频精品| 91精品啪在线观看国产爱臀| 久久人人88| 色综合五月天| 久久一区精品| 精品国产三级| 婷婷综合社区| 你懂得影院夜精品a| 中文字幕一区二区三区在线视频 | 麻豆精品网站| 久久99国产精品二区高清软件| 亚洲人体在线| 91精品一区国产高清在线gif| 麻豆精品网站| 日日夜夜免费精品视频| 日本最新不卡在线| 欧美日韩国产亚洲一区| av亚洲一区二区三区| 欧美激情三级| 欧美 日韩 国产一区二区在线视频| 国产精品久久久久久久久妇女| 日本成人在线电影网| 精品国产乱码久久久久久果冻传媒| 亚洲欧美久久久| 欧美一区视频| 成人午夜大片| 91亚洲国产高清| 国产精品2区| 亚洲韩日在线| 祥仔av免费一区二区三区四区| 日韩美女毛片| 亚洲欧美网站| 欧美日韩ab| 国产一在线精品一区在线观看| 天天综合网站| 玖玖精品一区| 蜜臀av性久久久久蜜臀aⅴ| 欧美日韩亚洲一区二区三区在线| 久久九九免费| 97成人超碰| 激情小说一区| 日本不卡免费高清视频在线| 国产精品一站二站| 雨宫琴音一区二区在线| 日本aⅴ免费视频一区二区三区| 亚洲成人精品| 国产91亚洲精品久久久| 成人在线免费观看91| 日韩在线不卡| 亚洲精品aⅴ| 国产伦理精品| 91成人噜噜噜在线播放| sm性调教片在线观看| 欧美精品momsxxx| 可以看av的网站久久看| 欧美午夜在线播放| 日本大胆欧美人术艺术动态| 国产探花一区二区| 蜜桃av噜噜一区| 精品中文视频| 国产欧美一区二区三区精品酒店| 日韩av在线发布| 午夜不卡影院| 精品资源在线| 国产精品久久777777毛茸茸| 国语产色综合| 亚洲精品影院在线观看| 亚洲美女网站| 亚洲精品国产动漫| 最新中文字幕在线播放| 高潮久久久久久久久久久久久久| 日韩高清在线| 久久理论电影| 欧美日韩亚洲一区二区三区在线| 在线亚洲精品| 日韩电影免费一区| 中文另类视频| 欧美福利影院| www.久久99| 国产福利片在线观看| 欧美成人专区| 一区二区三区国产精华| 免费的国产精品| 视频一区日韩精品| 成人国产综合| 亚洲视频播放| 成人免费在线电影网| 日日夜夜免费精品视频| 媚黑女一区二区| 欧美三区美女| 日本特黄久久久高潮| 久久综合影音| 麻豆精品少妇| av在线亚洲一区| 三级在线观看视频| 蜜臀久久99精品久久一区二区| 国产精品一区二区av交换| 亚洲天堂导航| 婷婷亚洲最大| 91国内精品| 91成人短视频在线观看| 九色porny丨首页入口在线| 亚洲婷婷免费| 精品国产一区二区三区2021| 免费亚洲视频| 欧美日韩在线观看首页| 伊人久久亚洲影院| 中文字幕伦av一区二区邻居| 久久男人av|