国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    中文精品一区二区三区| 日本一区二区三区免费看| 一区二区免费电影| 国内自拍欧美激情| 久久综合九色欧美狠狠| 欧美激情a∨在线视频播放| 欧洲亚洲免费视频| 国产成人一区二区三区小说| 在线观看污视频| 国产欧美精品久久久| 国产精品久久77777| 加勒比在线一区二区三区观看| 久久精品丝袜高跟鞋| 午夜精品免费视频| av免费精品一区二区三区| 精品久久久久久久久久中文字幕| 欧美日韩一道本| 视频直播国产精品| 日本一区不卡| 99久热在线精品视频| 欧美激情视频网站| 国产欧美精品在线播放| 久久成年人视频| 国产欧美日韩高清| 欧美激情日韩图片| av动漫在线看| 亚洲精品一区二区三区蜜桃久| 国产精品一区二区三| 精品国产_亚洲人成在线| 国产综合久久久久| 国产精品成人国产乱一区| 麻豆av一区二区三区久久| 精品乱码一区二区三区| 国产伦精品一区| 久久久久久12| 99久久99久久精品国产片| 亚洲高清乱码| 深夜福利一区二区| 精品欧美一区免费观看α√| 国产精品久久精品视| 国产特级黄色大片| 中文字幕免费高| 97免费在线视频| 欧美一级片一区| 日韩在线视频观看| 欧美第一黄网| 久久综合色影院| 丰满爆乳一区二区三区| 欧美一级片中文字幕| 久久久久久久有限公司| 欧美又大粗又爽又黄大片视频| 国产精品久久久久9999小说| 国产精品一区二区三区成人| 色乱码一区二区三区熟女| 国产精品久久久久久久久久久久久| 国产精品啪视频| 五月天综合网| 欧美一级片在线播放| 131美女爱做视频| 国产一区二区三区色淫影院| 欧美在线日韩在线| 欧洲黄色一级视频| 国产欧美精品在线| 国产乱人伦精品一区二区三区| 欧美综合在线观看视频| 国产成人精品网站| 国产精品永久免费在线| 亚洲国产一区二区精品视频| 日韩一区二区福利| 国产一区欧美二区三区| 久久99青青精品免费观看| 精品国内产的精品视频在线观看| 精品久久久无码人妻字幂| 国模吧一区二区| 蜜桃麻豆www久久国产精品| 在线观看免费91| 久久亚洲成人精品| 精品九九九九| 国产99久久精品一区二区永久免费 | 久久久久日韩精品久久久男男| 国产在线拍揄自揄视频不卡99| 亚洲一区二区三区加勒比| 久久精品国产免费观看| 国产精品一区二区在线观看| 欧美在线视频a| 亚洲资源在线看| 国产精品久久一| 国产xxxxx视频| 成人羞羞国产免费网站| 日韩精品在线视频免费观看| 欧美日韩国产91| 国产成人久久久| 国产激情综合五月久久| 成人久久18免费网站图片| 欧美日韩视频免费| 亚洲熟妇无码一区二区三区导航| 国产精品美女免费| 久久久久人妻精品一区三寸 | 国产精品国产自产拍高清av水多 | 国产毛片久久久久久国产毛片| 日韩欧美一区二区三区四区五区| 欧美乱大交xxxxx| 久热精品视频在线| 国产精品99久久久久久www | 久草热视频在线观看| 国产综合精品一区二区三区| 日韩免费在线播放| 亚洲成色www久久网站| 国产精品久久久久久影视| 久久久久国产精品熟女影院| 国产精品一区二区电影| 国模一区二区三区私拍视频| 日本免费在线精品| 亚洲精品一区国产精品| 一本久道中文无码字幕av| 久久99久久99精品免观看粉嫩| 国产精品裸体瑜伽视频| 久久久久久久国产精品视频| 久久久一本精品99久久精品| 国产精品夜夜夜爽张柏芝| 国产又爽又黄的激情精品视频| 青青a在线精品免费观看| 亚洲欧美99| 欧美精品性视频| 久久夜色精品国产欧美乱| 国产精品视频专区| 久久久久久久久影视| 国产高清视频一区三区| 97人人香蕉| 91精品综合视频| 不卡视频一区二区三区| 成人美女免费网站视频| 粉嫩av四季av绯色av第一区| 丰满少妇大力进入| 丰满少妇久久久| av中文字幕av| 久久久影院一区二区三区| 久热这里只精品99re8久| www精品久久| 91久久中文字幕| 91国内精品久久| 国产成人在线一区二区| 久久国产精品一区二区三区| 久久精品第九区免费观看| 久久99精品久久久久久秒播放器 | 黄色网页免费在线观看| 国内精品久久久久久影视8| 欧美日韩一区二区在线免费观看| 日韩精品一区二区三区不卡 | 久久精品夜夜夜夜夜久久| 国产精品视频一区二区三区经| 国产精品视频不卡| 欧美xxxx14xxxxx性爽| 伊人久久av导航| 亚洲精品高清视频| 日韩久久久久久久久久久久久| 男人天堂新网址| 国产日韩av高清| 91精品国产成人| 国产成人精品最新| 国产精品久久电影观看| 久久伊人色综合| 一区二区三区不卡在线| 日本精品一区在线观看| 欧美 日韩 国产 高清| 国产欧美va欧美va香蕉在| 91精品国产91久久久久久吃药| 久久久久久久一| 欧美精品日韩三级| 亚洲第一精品区| 欧美最大成人综合网| 国产日本欧美一区| 一本一生久久a久久精品综合蜜| 亚洲国产另类久久久精品极度 | 久久久久se| 国产精品久久久久久av福利软件 | 91精品国产亚洲| 国产精品三级一区二区| 在线码字幕一区| 日韩精品资源| 国产女主播一区二区三区| 国产精品91久久久久久| 久久国产精品 国产精品| 国产精品国内视频| 亚洲a中文字幕| 美国av一区二区三区| 久久久一二三四| 久久成人免费视频| 少妇免费毛片久久久久久久久| 男女超爽视频免费播放| 草b视频在线观看| 久久久国产视频91| 在线观看日本一区| 欧美在线www| 成人国产精品色哟哟| 日韩综合中文字幕| 一区二区精品国产| 欧美中文在线观看| 97精品国产97久久久久久春色| 国产精品免费电影|