-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
I don’t know how to fix this coding issue for a continuous compound interest problem:
// Coded by Claritz Marte
$P = rand(1000,5000)
$r = rand(2,6)
$t = rand(1,5)
$A = $P * exp(($r/100) * $t)
$A = round($A + 1e-9, 2)
$answer = $A
$pick = rand(0,19)
$team=array("Nasir","Caleb","Amara","Mariela","Nuzrat","Wendy","Katerin","Palestina","Kaylee","Emily","Amayalee","Nina","Ilainy","Shirly","Madison","Kareline","Kimberly","Ashley","Sadmani","Aziza")
$name = $team[$pick]
Text:
Round to the nearest 2 decimals
Answer: $$answerbox
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels