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

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

This example Scala source code file (Course-2002-09-msil.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-msil.check source code

Probe: f = 32
Probe: c = 0
Probe: f = ?
Probe: c = ?

Probe: f = 212
Probe: c = 100
Probe: f = ?
Probe: c = ?

Probe: c = 0
Probe: f = 32
Probe: c = ?
Probe: f = ?

Probe: c = 100
Probe: f = 212
Probe: c = ?
Probe: f = ?

0 Celsius -> 32 Fahrenheits
100 Celsius -> 212 Fahrenheits
32 Fahrenheits -> 0 Celsius
212 Fahrenheits -> 100 Celsius

a = ?, b = ?, c = ? =>   ? *   ? =   ?
a = 2, b = ?, c = ? => 2 *   ? =   ?
a = ?, b = 3, c = ? =>   ? * 3 =   ?
a = ?, b = ?, c = 6 =>   ? *   ? = 6
a = 2, b = 3, c = ? => 2 * 3 = 6
a = 2, b = ?, c = 6 => 2 * 3 = 6
a = ?, b = 3, c = 6 => 2 * 3 = 6
a = 2, b = 3, c = 6 => 2 * 3 = 6

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

a = 3, b = 4 => c = 5
a = 3, c = 5 => b = 4
b = 4, c = 5 => a = 3

Other Scala examples (source code examples)

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

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

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 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.