一道英文的Java编程题目Create a program that uses variables and methods to read some informationabout a bank customer and handle his/her account.The information thatshould be read is namn,address,phone number and account number.Theinformation
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 14:48:25
一道英文的Java编程题目Create a program that uses variables and methods to read some informationabout a bank customer and handle his/her account.The information thatshould be read is namn,address,phone number and account number.Theinformation
一道英文的Java编程题目
Create a program that uses variables and methods to read some information
about a bank customer and handle his/her account.The information that
should be read is namn,address,phone number and account number.The
information shall be stored in variables using appropriate data types and
names.Methods shall be created for depositing and withdrawing money,the
methods shall print an appropriate text telling the customer what to do
(deposit or withdraw) and then read the amount and return it so that the
account balance can be updated.
Deposit three different amounts and then withdraw two.All the information
including customer information and account information shall be printed.
一道英文的Java编程题目Create a program that uses variables and methods to read some informationabout a bank customer and handle his/her account.The information thatshould be read is namn,address,phone number and account number.Theinformation
给你翻译一下:
创建一个程序,用变量和方法来读取银行客户的信息以及对账户的操作.姓名、地址、电话号码和账户号码的信息必须读取.这些信息必须用合适的数据类型和名称来存储.创建的方法用于操作存款和取款,并且方法要打印出适当的提示信息告知用户怎样操作(存还是取),最好还要更新并显示账户余额!
存三次然后取两次.并须打印出客户信息和账户信息.
看完中文版的题目相信你一定不会觉得难了.