国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

代寫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
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    日本乱人伦a精品| 国产人妻人伦精品| 国产精品久久久久久久久久久久| 91免费福利视频| 成人福利网站在线观看| 国产精品一二三在线| 成人国产精品av| 91精品视频观看| 国产成人精品久久久| 久久久久亚洲av无码专区喷水| 国产成人精品免费视频 | 国内一区二区三区在线视频| 欧美与黑人午夜性猛交久久久 | 懂色一区二区三区av片| 视频一区二区三区免费观看 | 成人久久一区二区| 久久精品一二三区| 色狠狠久久aa北条麻妃| 国产精品入口日韩视频大尺度| 国产精品日本精品| 精品国产成人av在线免| 久久久久久国产| 亚洲精品日韩精品| 日韩国产精品毛片| 黄色一级片播放| 久久精品视频一| 久久亚洲电影天堂| 一本色道婷婷久久欧美| 日日夜夜精品网站| 欧美日韩一区二区视频在线观看| 国产亚洲黄色片| 久章草在线视频| 国产精品极品美女在线观看免费| 欧美精品久久久久久久久| 少妇特黄a一区二区三区| 欧美中文在线免费| 国产奶头好大揉着好爽视频| 91精品国产91久久久久麻豆 主演| 日韩在线视频网站| 精品中文字幕在线2019| 亚洲中文字幕无码中文字| 人妻无码久久一区二区三区免费 | 国产精品久久久久久久app | 91久久精品www人人做人人爽| 久久精品国产精品国产精品污| 国产精品美女在线播放| 亚洲aaa激情| 国内精品久久久久久久果冻传媒| 国产一区 在线播放| 高清在线观看免费| 国产精品入口日韩视频大尺度 | 国产美女主播一区| 久久久久久久久久久人体| 国产成人艳妇aa视频在线| 91精品91久久久久久| 九九九九久久久久| 欧美精品在线免费观看| 日韩av免费电影| 欧美有码在线观看视频| 狠狠干 狠狠操| 国产精品99久久久久久久久| 国产精品国产三级国产aⅴ浪潮 | 国产精品免费视频xxxx| 亚洲国产精品日韩| 国内精品视频在线播放| 国产精品91久久| 国产精品吹潮在线观看| 日本少妇高潮喷水视频| 国产一区玩具在线观看| 国产福利一区视频| 久久99青青精品免费观看| 人妻无码久久一区二区三区免费| 成人精品视频在线播放| 国产精品视频在线观看| 日韩免费高清在线| 116极品美女午夜一级| 欧美激情网友自拍| 欧美激情国产日韩| 久久精品aaaaaa毛片| 亚洲自拍另类欧美丝袜| 国产美女搞久久| 久久天天躁夜夜躁狠狠躁2022| 琪琪亚洲精品午夜在线| 91av成人在线| 一区二区冒白浆视频| 国产精品影片在线观看| 国产精品大全| 国产一区二区片| 国产精品久久久久9999| 黄页网站大全在线观看| 国产精品视频免费一区| 欧美日韩精品免费观看 | 欧美最大成人综合网| 日韩一区二区三区国产| 亚洲视频导航| 成人av男人的天堂| 亚洲色欲久久久综合网东京热| 国产欧美一区二区三区四区| 久久久久国产精品免费网站| www婷婷av久久久影片| 亚洲a一级视频| 国产av天堂无码一区二区三区| 色香蕉在线观看| 九九久久99| 免费久久99精品国产自| 久久伊人免费视频| 国产欧美亚洲视频| 亚洲精品人成| 久久久久久久久久亚洲| 欧美性在线视频| 亚洲蜜桃av| 久久久久久久久久久福利| 欧美国产综合视频| 最新不卡av| 久久久久一区二区| 麻豆av一区二区三区久久| 中文字幕乱码一区二区三区| 任我爽在线视频精品一| 国产精品久久久亚洲| 国产精品中文字幕在线| 色综合影院在线观看| 精品久久久91| 国产一区二区三区四区五区加勒比 | 免费看a级黄色片| 亚洲综合av影视| 久久久久久久久爱| 国产欧美日韩在线播放| 性欧美激情精品| 国产精品网红直播| 国产精品午夜国产小视频| 欧美一级片久久久久久久| 久久精品人人做人人爽| 福利视频一区二区三区四区| 视频在线精品一区| 国产精品激情自拍| 久久婷婷开心| 国产一区免费观看| 亚洲自偷自拍熟女另类| 久久精品国产电影| y111111国产精品久久婷婷| 欧美一区二区综合| 亚洲色精品三区二区一区| 国产精品日韩欧美综合| 91精品久久久久久久久久入口| 欧美xxxx黑人又粗又长精品 | 亚洲精品影院| 国产精品久久久久av| 91免费欧美精品| 免费毛片网站在线观看| 欧美一级片一区| 精品国产一区二区三区四区精华 | 国产精品成人va在线观看| 国产v亚洲v天堂无码久久久 | 久久精品国产91精品亚洲| 91精品视频免费看| 国产淫片av片久久久久久| 日本高清视频一区二区三区| 欧美激情亚洲精品| 国产精品国产精品国产专区蜜臀ah| 国产精品8888| 国产日韩欧美在线视频观看| 欧美在线视频网站| 日本精品久久久久中文字幕 | 日韩欧美视频一区二区三区四区| 亚洲午夜精品一区二区| 欧美成人精品三级在线观看| 视频在线一区二区| 91传媒免费视频| 高清国产一区| 国产欧美久久一区二区| 精品99在线视频| 欧日韩不卡在线视频| 日韩中文字幕组| 在线播放 亚洲| 久久在线精品视频| 国产精品国产自产拍高清av水多| www.日本久久久久com.| 国产白丝袜美女久久久久| 国产精品678| 91成人精品网站| 国产高清不卡av| 国产福利精品av综合导导航| 99精品99久久久久久宅男| 产国精品偷在线| 成人在线免费观看一区| 成人a在线视频| julia一区二区中文久久94| 成人精品一区二区三区电影黑人 | 无码人妻精品一区二区蜜桃百度| 一区二区三区久久网| 精品久久久久久无码中文野结衣| 国产精品成人观看视频国产奇米| 国产精品久久久久久久免费大片 | 九九精品在线视频| 久久99国产精品自在自在app| 久久综合免费视频| 久久电影一区二区| 国产精品电影网| 精品久久久久久久免费人妻| 久久国产精品亚洲|