Java Salary Calculator

Mountain State University Java Assignment

3.20 (Salary Calculator)

Develop a Java application that determines the gross pay for each of three employees. The company pays straight time for the first 40 hours worked by each employee and time and a half for all hours worked in excess of 40. You are given a list of the employees, their number of hours worked last week and their hourly rates. Your program should input this information for each employee, then determine and display the ...

Read more →
0

Java – Pythagorean Triples

Java – Pythagorean Triples

Mountain State University Java Assisgnment

Java How to Program: Exercise 4.21 page 165

4.21 (Pythagorean Triples)
4.21 (Pythagorean Triples – Source Code)

/*
Pythagorean Triple
A right triangle can have sides whose lengths are all integers.
The set of three integer values for the lengths of the sides of a right triangle
is called a Pythagorean Triple. The lengths of three sides must satisfy the relationship that the sum of the
squares of two of the sides is equal to ...

Read more →
0

Java Reference

Java Reference (Sun Microsystems)

This page is utilized for a reference to Java.

Url’s

Java API:
http://java.sun.com/javase/7/docs/api/ 

Learn the Java Programming Language:
http://edu.netbeans.org/bluej 

W3 Schools Tutorial:
http://www.w3schools.com/js/default.asp 

Sun Microsystems Official Java Page:
http://www.java.com/en 

Join the Sun Developers Network:
http://developers.sun.com/user_registration/whyregister.jsp 

SDN Channel:
http://developers.sun.com/channel/ 

The NetBeans IDE BlueJ Plugin:
http://edu.netbeans.org/bluej 

Read more →
0

MIT Python Programming #2

Lecture 2: Operators and operands; statements; branching, conditionals, and iteration Instructors

 

Massachusetts Institute of Technology: Introduction to Computer Science and Programming

Introduction to Computer Science & Programming Class Notes

Primitive Data – 3 Types (Numbers, Strings, Booleans).

No matter how complex a data structure you create, fundementally at there
basis you will find some combination of NUMBERS, STRINGS, and BOOLEANS.

Associated with every primitive value is a type.

Strings: Strings
Numbers: Integers, Floats
Booleans: True, False

Operands and Operators are combined in ...

Read more →
0

MIT Python Programming #1

Lesson 1: Goals of the course; what is computation; introduction to data types, operators, and variables

 

Massachusetts Institute of Technology: Introduction to Computer Science and Programming

Instructors: Prof. Eric Grimson, Prof. John Guttag

View the complete course at: http://ocw.mit.edu/6-00F08

License: Creative Commons BY-NC-SA

More information at http://ocw.mit.edu/terms

More courses at http://ocw.mit.edu

Introduction to Computer Science & Programming Notes

Computational Thinking (Write Code)

Understand Code (Read Code)

Map Problems Into Computation (Analysis & Design)

What is Computation? To better answer this question let me first ask you:
Read more →

0

MIT Python Programming #7

Lesson 7: Lists and mutability, dictionaries, pseudocode, introduction to efficiency

Massachusetts Institute of Technology (Open Course Ware): Introduction to Computer Science and Programming

View the complete course at: http://ocw.mit.edu/6-00F08

Introduction to Computer Science & Programming Class Notes

Lists and mutability, dictionaries, pseudo code, introduction
to efficiency

Lesson 6 we discussed lists. Lists are mutable.

Ivys [ 1 ] = -15    The object 1 within the
Ivys list is now given a value of -15

Ivys = [ 'Yale', '-1', 'Princeton' ...

Read more →
0

MIT Python Programming #4

Decomposition and abstraction through functions; introduction to recursion

Massachusetts Institute of Technology: Introduction to Computer Science and Programming

Lecture 4: Decomposition and abstraction through functions; introduction to recursion

Instructors: Prof. Eric Grimson, Prof. John Guttag

View the complete course at: http://ocw.mit.edu/6-00F08

Introduction to Computer Science & Programming Class Notes

In the previous 3 lessons we learned the following in our language:
– Assignment
– Conditionals
– Input/Output
– Looping Constructs (For, While)

Touring Complete: The above fundamentals are enough to ...

Read more →
0

MIT Python Programming #5

Lesson 5: Floating point numbers, successive refinement, finding roots

Massachusetts Institute of Technology (OpenCoarseWare): Introduction to Computer Science and Programming

Lecture 5: Floating point numbers, successive refinement, finding roots

Instructors: Prof. Eric Grimson, Prof. John Guttag

View the complete course at: http://ocw.mit.edu/6-00F08

Introduction to Computer Science & Programming Class Notes

Floating point numbers, successive refinement, finding roots

Python has 2 types of numbers:
int (integers – whole numbers)
Arbitrary precision (Long Integer)

The following code displays arbitrary precision:
a = 2**1000
Type ...

Read more →
0
Page 8 of 9 «...56789