(基于java的简易计算器的设计
基于java的简易计算器的设计
摘要
自从java语言诞生以来,java语言就以不可抵挡的趋势很快成为国际上广泛流行的面向对象编程语言,它既具有高级语言的特点,又少了C语言中指针特点,因而变得简单了很多。Java是一种可以撰写跨平台应用软件的面向对象的程序设计语言,其具有卓越的通用性、高效性、平台移植性和安全性,广泛应用于个人PC、数据中心、游戏控制台、科学超级计算机、移动电话和互联网,同时拥有全球最大的开发者专业社群。在全球云计算和移动互联网的产业环境下,Java更具备了显著优势和广阔前景。?
本文介绍了用java语言编写一个简易计算器。实现数学上的加、减、乘、除、乘方、开方、阶乘、正弦、余弦运算等相关运算。利用这个程序可以方便的进行日常性的小规模运算,小巧简易,是个实用的工具java语言
THE DESIGN OF SIMPLE CALCULATOR BASED ON JAVA
ABSTRACT
Since?the?inception?of?the?java?language,?java?language?Take?irresistible?trend?soon?became?widespread?international?popular?object-oriented?programming?language,?both?with?advanced?language?features,?and?less?of?the?C?language?pointer?characteristics,?and?thus?becomes?a?lot?simpler?.?Java?is?a?cross-platform?application?software?can?write?object-oriented?programming?language,?which?has?excellent?versatility,?efficiency,?platform?portability,?and?security,?are?widely?used?in?personal?PC,?data?center,?gaming?consoles,?scientific?super-computers,?mobile?phones?and?the?Internet,?also?has?the?world's?largest?developer?of?professional?community.?In?the?global?cloud?computing?and?mobile?Internet?industry?environment,?Java?and?more?have?significant?advantages?and?broad?prospects.?
????This?article?describes?the?use?java?language?a?simple?calculator.?Achieve?mathematical?addition,?subtraction,?multiplication,?division,?involution,?evolution,?factorial,?sine,?cosine?operations?and?other?related?operations.?With?this?program?you?can?easily?carry?out?daily?operations?of?small-scale,?small?simple,?is?a?useful?tool.
Key words: program?design; simple calculator; java?language?
目 录
1 前言…………………..………………...............……………….………………………….1
1.1 课程设计背景……………………....…………………………………………………1
1.2 需求环境………………………............………………………………………………1
1.3 课程设计思路………………….………………...……………………………………1
2 课程设计概要………......................................................…………………………………...….2
3 计算器详细设计 ………………….........................................………………..……….....3
3.1 计算器界面 ……….…