Computers and Technology, 17.01.2020 22:31 elysabrina6697
Complete the giftcard class shown below. a giftcard keeps track of the current balance on the card. a gift card starts with a beginning balance. a giftcard can be used to make a purchase, funds can be added to a giftcard, and the balance can be checked at any time. the balance can never be negative. if the amount added to the card is $100 or more, a bonus of $10 is also added.
public class giftcard
{
// declare instance variables
// precondition: the starting balance is not negative
// postcondition: all instance variables are initialized
public giftcard(double startbal)
{
}
// postcondition: amount is subtracted from balance
// if there are insufficient funds, the balance is set to zero and a message
// is displayed to indicate how much of the transaction is still owed
public void spendfunds(double amount)
{
}
// postcondition: amount is added to balance, if the amount is at least 100 dollars,
// 10 dollars is added
public void addfunds(double amount)
{
}
// postcondition: the current balance is returned
public double checkbalance()
{
}
}
Answers: 3
Computers and Technology, 23.06.2019 02:00
Arecipients list has been loaded into a document. which commands should be clicked in order to filter the list so that letters will not be printed for recipients who live in a certain state? mailings tab, start mail merge, select recipients, type new list, then insert only contacts from the desired states mailings tab, rules, select recipients, use existing list, then choose a recipients list that includes only contacts in certain states mailings tab, select recipients, use existing list, rules, fill in, then type in certain states mailings tab, rules, skip record select “state” under field name, then type in the state name under “equal to”
Answers: 2
Computers and Technology, 23.06.2019 21:00
Which set of steps will organize the data to only show foods with more than 100 calories and rank their sugar content from greatest to least?
Answers: 1
Computers and Technology, 24.06.2019 07:30
Aproject involves many computing systems working together on disjointed task towards a single goal what form of computing would the project be using
Answers: 3
Complete the giftcard class shown below. a giftcard keeps track of the current balance on the card....
Mathematics, 12.09.2021 22:30
Mathematics, 12.09.2021 22:30
Mathematics, 12.09.2021 22:30
Mathematics, 12.09.2021 22:30
Mathematics, 12.09.2021 22:30
Business, 12.09.2021 22:30
Mathematics, 12.09.2021 22:30
History, 12.09.2021 22:30
Mathematics, 12.09.2021 22:30
Biology, 12.09.2021 22:30
Social Studies, 12.09.2021 22:30
Computers and Technology, 12.09.2021 22:30
History, 12.09.2021 22:30
Mathematics, 12.09.2021 22:30