Code CSS Test

By

First published on March 15, 2019


My program.

# Goal: to calculate interest income.

# Identify variable and initialize parameters
    # Initial sum of money which is a number

        income = 0.0  # Float

    # Interest rate which is a number

        time = 0  # Integer

# Calculate and Display Results while time

    income = 10.0 ∗ time

puts "My text"

 

# Goal: to calculate interest income. 
# Identify variable and initialize parameters 
    # Initial sum of money which is a number 
        income = 0.0 # Float 
    # Interest rate which is a number 
        time = 0  # Integer 
# Calculate and Display Results while time 
    income = 10.0 ∗ time 
puts "My text"

[code lang=”ruby”]

# Goal: to calculate interest income.

# Identify variable and initialize parameters

# Initial sum of money which is a number

income = 0.0 # Float

# Interest rate which is a number

time = 0 # Integer

# Calculate and Display Results

while time income = 10.0 ∗ time

puts "My text"

[/code]

 

References …


| COURSE |


Content is copyright the author. Layout is copyright Corsbook. See Corsbook.com for further notices.