Word processing and databases are the most common type of application software. In this case, application software, often called
productivity programs, are programs designed to specifically attain specific
tasks such as creating documents, databases, sending email, designing graphics
and even playing games. A mobile app is also an emerging type of application
software designed to run on portable devices like mobiles and PDAs. To some extent, email software is an application software
since it can also be distinguished on the basis of usage.
Answer:
Python script is given below
Explanation:
charge = float(input('Enter the amount you were charged. $'))
#setting the formula for tip and tax
tip = charge*.18
tax = charge*.07
#printing the values
print('Charge for the food: %.2f' % charge)
print('The tip amount: %.2f' % tip)
print('Tax amount: %.2f' % tax)
print('Total amount: %.2f' % (charge+tip+tax))
Answer:
def rec_dig_sum( num ):
num_list = [ digit for digit in str(num)]
total = 0
for x in num_list:
total += x
return total
def dict_of_rec_dig_sums(low, high):
mydict = dict()
for number in the range(low, high+1):
mydict[rec_dig_sum(number)] = number
return mydict
Explanation:
The python program defines two functions, "rec_dig_sum" and "dict_of_rec_dig_sums". The former accepts a number and returns the sum of the digits of the number while the latter accepts a low and high number range.
The program returns a dictionary with the recursive sum as the keys and the number count as the values.