Location:
Search - HardWork
Search list
Description: 一个基于GTK+的单词数值计算器,1、 按照规则计算单词的值,如果 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 26个字母(全部用大写)的值分别为 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26,如:
WINJACK这个单词的值就为:W+I+N+J+A+C+K=23+9+14+1+3+11=71%
HARDWORK=H+A+R+D+W+O+R+D=8+1+18+4+23+15+18+11=98%
LOVE=L+O+V+E=12+15+22+5=54%
LUCK=L+U+C+K=12+21+3+11=47%
ATTITUDE= A+T+T+I+T+U+D+E=1+20+20+9+20+24+4+5=100%
2、对程序的界面布局参考如下图所示,在第一个单行文本框输入一个单词,点击“计算”按钮,按照以上算法计算出该单词的值。
3、如果在最下面的单行文本框输入一个文件路径,此文件每行记录一个单词,那么经过程序计算出各个单词的值,并把结果输出到当前目录下result.txt文件中。如果文件不存在,应该提示错误。
-err
Platform: |
Size: 1024 |
Author: 翔 |
Hits:
Description: 简单的雇员管理系统,我现在还是个初学者,只能提供这样简单的程序了,我会加倍努力,争取多为本站上传些高质量的程序-hardwork
Platform: |
Size: 1024 |
Author: 阿忆 |
Hits:
Description: 输出公司每年对按照年、月、周发放薪水的不同员工的总值,程序能输出Company对象一年需要支付的薪水总额。-Output every year in accordance with year, month, week paid gross salaries of different employees, the program can be exported Company object for one year' s salary to be paid the total amount.
Platform: |
Size: 1024 |
Author: 田园 |
Hits:
Description: 上转型对象
1.实验目的
掌握上转型对象的使用。
2. 实验要求
要求有一个abstract类,类名为Employee,Employee的子类有YearWorker、MonthWorker和WeekWorker。YearWorker对象按年领取薪水,MonthWorker按月领取薪水,WeekWorker按周领取薪水。Employee有一个abstract方法:
public abstract earnings()
子类必须重写父类的earnings()方法,给出各自领取薪水的具体方式。
有一个Company类,该类用Employee数组作为成员,Employee数组的单元可以是YearWorker对象、MonthWorker对象或WeekWorker对象的上转型对象。程序能输出Company对象一年需支付的薪水总额。
-The transformation of the object 1. Purpose of the experiment used to grasp the transformation of the object. 2. Experiment requires a abstract class requirements, class named Employee, Employee of the child class has YearWorker, MonthWorker and WeekWorker. YearWorker object to receive annual salary, MonthWorker receive a monthly salary, WeekWorker receive weekly salary. Employee one abstract method: public abstract earnings () sub-class must override the parent class of earnings () method, given their own specific way of receiving pay. A Company class, such as members with an array of Employee, Employee of the array elements can be YearWorker object, MonthWorker object or objects on the transformation of objects WeekWorker. Company object program can output a year' s salary to be paid the total amount.
Platform: |
Size: 3072 |
Author: 覃翠娟 |
Hits:
Description: 网络硬盘,可以上传或者下载资料,很适合一些资料的备份,同时也很方便。-Network hard disk
Platform: |
Size: 3255296 |
Author: 马龙 |
Hits:
Description: 21天学会JAVA,学习没有捷径,21一天是噱头。读者还是要认真钻研。努力才是王道-Learn Java within 21 days. Hardwork is the key to success in any condition. Don t believe there is any shortcut to get something such as picking up Java within 21 days
Platform: |
Size: 2278400 |
Author: lai |
Hits:
Description: This matlab code is about STTC Stages in OFDM systems. This code was written with a lot of hardwork. This took me a lot of time to write.
Platform: |
Size: 1024 |
Author: warlock1990 |
Hits: