CS 300 Assignment 2-3(Pseudocode & Code Reflection)
Complete Program Pseudocode
Function strToDouble
function strToDouble(str, ch):
remove all occurrences of ch from str
convert str to a floating-point number
return the number
Function displayBid
function displayBid(bid):
print bid.bidId, bid.title, bid.amount, bid.fund
Function getBid
function getBid():
create new Bid object
prompt user for bidId
store input in bid.bidId
prompt user for title
store input in bid.title
prompt user for fund
store input in bid.fund
prompt user for amount
convert string amount to double using strToDouble
store in bid.amount
return bid
Function loadBids
function loadBids(csvPath):