1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
USPshnik [31]
3 years ago
10

1. Write a programme to print the Fees Receipt of English High School Required Inputs Name of the Student Monthly Tuition Fees M

onthly Transport Fees No. Of Month Output Name of the Student Monthly Tuition Fees Monthly Transport Fees Total Fees VAT Fees Amount to be paid Thank you message Sample Output is given below
Computers and Technology
1 answer:
natima [27]3 years ago
5 0

Answer:

In Python:

sname = input("Name: ")

tuition = float(input("Monthly Tuition: "))

transport = float(input("Monthly Transport: "))

months = int(input("No. of Months: "))

print("Student Name: "+sname)

print("Monthly Tuition: "+str(tuition))

print("Monthly Transport: "+str(transport))

fees = (transport + tuition) * months

print("Total Fees: "+str(fees))

VAT = 0.00

print("VAT: "+str(VAT)+"%")

amount = fees - VAT*fees/100

print("Amount to pay: "+str(amount))

print("Thank you...")

Explanation:

The program was written in Python

This gets the student's name

sname = input("Name: ")

This gets the student's monthly tuition fee

tuition = float(input("Monthly Tuition: "))

This gets the student's monthly transport fee

transport = float(input("Monthly Transport: "))

This gets the number of months

months = int(input("No. of Months: "))

This prints the student's name

print("Student Name: "+sname)

This prints the student's monthly tuition fee

print("Monthly Tuition: "+str(tuition))

This prints the student's monthly transport fee

print("Monthly Transport: "+str(transport))

This calculates the total fee

fees = (transport + tuition) * months

This prints the total fees

print("Total Fees: "+str(fees))

Here, we assume that VAT is 0%

VAT = 0.00

This prints the assumed VAT

print("VAT: "+str(VAT)+"%")

This calculates the total payable fee

amount = fees - VAT*fees/100

This prints the total payable fee

print("Amount to pay: "+str(amount))

This prints a thank you message

print("Thank you...")

You might be interested in
Write an interactive program to calculate the volume and surface area of a three-dimensional object
Sveta_85 [38]

Answer in Python:

<em># Define program constants</em>

PI = 3.14

<em># Welcome the user to our program</em>

print("### Welcome to the Sphere Volume Calculator")

<em># Ask for the Radius (r) input and store it as a float</em>

radius = float(input("Type the Radius of your sphere in meters: "))

<em># Calculate the volume</em>

volume = 4 / 3 * PI * radius ** 3

<em># Print the result</em>

print("Your sphere volume is:", volume, "m³")

References:

  • https://www.w3schools.com/python/python_variables.asp
  • https://www.w3schools.com/python/python_casting.asp
  • https://www.w3schools.com/python/python_user_input.asp
  • https://www.w3schools.com/python/python_operators.asp
  • https://www.w3schools.com/python/ref_func_print.asp
5 0
3 years ago
Six external parts or periphersal of a computer system
BARSIC [14]


1.) Keyboard

2.) Mouse

3.) monitor

4.) printers

5.) speakers

6.) microphone

3 0
4 years ago
A customer has contacted you to help him alleviate the large amount of time and effort that goes into adding and removing users
Ostrovityanka [42]

Answer: On-demand

Explanation:

On-demand computing is the term of cloud computing that describes the function that provides organization with cloud hosting services. This function permits those organization to provide their customers for assessing computing resources and services as per necessity.

According to the question,on-demand is the computing function that should be used in the mentioned case. Technician and customers will get to access the computer as per their necessity and will not have to waste their efforts and time.

7 0
4 years ago
What is the analysis and complexity of a shell sortalgorithms?
Llana [10]

Answer: The shell sort is based on insertion sort. Here the list of elements are divided into smaller sub list which are sorted based on insertion sort.

Its best case time complexity is O(n* logn) and worst case is O(n* log^2 n)

Explanation:

Shell sort is an inplace sorting here we begin by dividing the list into sublist and sorting the list with insertion sort. We create interval for dividing the list into sub list until we reach the smallest interval of 1.

The best case is O(n* logn).

6 0
3 years ago
Which type of navigation involves multiple frames that are linked to a number of other frames?
Reptile [31]
The answer to the question is linear
6 0
3 years ago
Read 2 more answers
Other questions:
  • You've created a letter from a blank document. To format this letter with a unified font, colors, and effects you'll apply a A.g
    6·2 answers
  • What is the Matlab command to create a vector of the even whole numbers between 29 and 73?
    11·1 answer
  • Which of the following is considered technology?
    12·1 answer
  • You find a list of numbers on the kitchen counter, but you aren’t sure what the numbers represent. This is an example of:
    11·2 answers
  • Which option ensures that a page break is automatically inserted ahead of a specific paragraph or heading?
    10·2 answers
  • A file with a com extension is most likely to be a(n) ___ file.
    13·2 answers
  • Which entity might hire a Computer Systems Analyst to help it catch criminals?
    12·2 answers
  • Reality and computer-generated simulations can solve a lot of problems
    14·1 answer
  • Not every design choice in your game interface requires having a thought process behind it.
    9·2 answers
  • Which menu enables you to add content to the table of contents?.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!