alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (Course-2002-09.check)

This example Scala source code file (Course-2002-09.check) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

celsius, celsius, fahrenheits, fahrenheits, probe, probe

The Scala Course-2002-09.check source code

Probe: f = 32.0
Probe: c = 0.0
Probe: f = ?
Probe: c = ?

Probe: f = 212.0
Probe: c = 100.0
Probe: f = ?
Probe: c = ?

Probe: c = 0.0
Probe: f = 32.0
Probe: c = ?
Probe: f = ?

Probe: c = 100.0
Probe: f = 212.0
Probe: c = ?
Probe: f = ?

0.0 Celsius -> 32.0 Fahrenheits
100.0 Celsius -> 212.0 Fahrenheits
32.0 Fahrenheits -> 0.0 Celsius
212.0 Fahrenheits -> 100.0 Celsius

a = ?, b = ?, c = ? =>   ? *   ? =   ?
a = 2, b = ?, c = ? => 2.0 *   ? =   ?
a = ?, b = 3, c = ? =>   ? * 3.0 =   ?
a = ?, b = ?, c = 6 =>   ? *   ? = 6.0
a = 2, b = 3, c = ? => 2.0 * 3.0 = 6.0
a = 2, b = ?, c = 6 => 2.0 * 3.0 = 6.0
a = ?, b = 3, c = 6 => 2.0 * 3.0 = 6.0
a = 2, b = 3, c = 6 => 2.0 * 3.0 = 6.0

a = 0, b = ?, c = ? => 0.0 *   ? = 0.0
a = ?, b = 0, c = ? =>   ? * 0.0 = 0.0
a = ?, b = ?, c = 0 =>   ? *   ? = 0.0
a = 0, b = 7, c = ? => 0.0 * 7.0 = 0.0
a = 7, b = 0, c = ? => 7.0 * 0.0 = 0.0
a = 0, b = 0, c = ? => 0.0 * 0.0 = 0.0
a = 0, b = ?, c = 0 => 0.0 *   ? = 0.0
a = ?, b = 0, c = 0 =>   ? * 0.0 = 0.0
a = 0, b = 7, c = 0 => 0.0 * 7.0 = 0.0
a = 7, b = 0, c = 0 => 7.0 * 0.0 = 0.0
a = 0, b = 0, c = 0 => 0.0 * 0.0 = 0.0

a = 3, b = 4 => c = 5.0
a = 3, c = 5 => b = 4.0
b = 4, c = 5 => a = 3.0

Other Scala examples (source code examples)

Here is a short list of links related to this Scala Course-2002-09.check source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.