CSCI 201: Intro to Programming (Java)
Programs designed in class
- The first programs:
- ... the "Hello World" program: First.java
- ... output with ECS codes and printf: First_a.java
- ... simple arithmetic: Second.java
- Keyboard input
- ... by using class BufferedReader: KbInput1.java
- ... by using class Scanner: KbInput2.java
- Reading a string after reading a number: KbInput3.java
- Roots of a quadratic equation another version
- Computing the quotient and remainder
- Converting temperatures from Fahrenheit into Celcius and versa
- Counting coins in a purse
- computing the amount in cents: Purse1.java
- computing the amount in dollars: Purse2.java
- entering the amount of coins: Purse3.java
- using auxiliary methods: Purse4.java