I hereby claim:
- I am jacobtender on github.
- I am jacobtender (https://keybase.io/jacobtender) on keybase.
- I have a public key ASCNKK9iRWAxWG8-nO2uDbk7sQdPwAm6VSoL87ubBY_CdQo
To claim this, I am signing this object:
{ | |
"show": { | |
"id": "691655", | |
"created_at": "2019-08-02T04:08:32.616Z", | |
"artist_id": null, | |
"artist_name": "James Mulvany | Podcast.co", | |
"episode_comments_count": 0, | |
"episodes_count": 6, | |
"explicit": false, | |
"feed_url": "https://feed.pod.co/create-reach-inspire", |
I hereby claim:
To claim this, I am signing this object:
/* | |
Make a LandTract class with the following fields: | |
• length - an int containing the tract's length | |
• width - an int containing the tract's width | |
The class should also have the following methods: | |
• area - returns an int representing the tract's area | |
• equals - takes another LandTract object as a parameter and returns a boolean saying | |
whether or not the two tracts have the same dimensions (This applies regardless of whether the dimensions match up. i.e., if the length of the first is the same as the width of the other and vice versa, that counts as having equal dimensions.) | |
• toString - returns a String with details about the LandTract object in the format: |
/* | |
A showChar Method | |
Write a method named showChar. The method should accept two arguments: a reference to | |
a String object and an integer. The integer argument is a character position within the | |
String, with the first character being at position 0. When the method executes, it should | |
display the character at that character position. The method does not return anything. | |
Here is an example of a call to the method: | |
showChar("New York", 2); |
/* | |
Write a Temperature class that will hold a temperature in Fahrenheit and provide methods to get the temperature in Fahrenheit, Celsius, and Kelvin. The class should have the | |
following field: | |
• ftemp: a double that holds a Fahrenheit temperature. | |
The class should have the following methods: | |
• Constructor: The constructor accepts a Fahrenheit temperature (as a double) and stores it in the ftemp field. | |
• setFahrenheit: The set Fahrenheit method accepts a Fahrenheit temperature (as a double) and stores it in the ftemp field. | |
• getFahrenheit: Returns the value of the ftemp field as a Fahrenheit temperature (no conversion required) | |
• getCelsius: Returns the value of the ftemp field converted to Celsius. Use the following formula to convert to Celsius: |
/* | |
Quarterly Sales Statistics | |
Write a program that lets the user enter four quarterly sales figures for six divisions of a company. | |
The figures should be stored in a two-dimensional array. Once the figures are entered, the | |
program should display the following data for each quarter: | |
• A list of the sales figures by division | |
• Each division’s increase or decrease from the previous quarter (this will not be displayed for | |
the first quarter) | |
• The total sales for the quarter | |
• The average sales for all divisions that quarter |