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
faust18 [17]
3 years ago
15

Green Fields Landscaping Company sells evergreen trees which are priced by height. Customers have a choice of purchasing a tree

and taking it home with them or purchasing a tree and having it delivered. Write a program that asks the user the number of trees purchased, the height of the trees, and if they want the trees delivered. Based on that information the program should then generate an invoice. Assume that ALL the trees purchased by a customer are the same height.
Computers and Technology
1 answer:
Tomtit [17]3 years ago
8 0

Answer:

Answered below

Explanation:

//Program is written in Python programming //language.

number_of_trees = int(input ("Enter number of trees purchased: "))

height_of_trees = float(input("Enter height of trees: "))

delivery_status = input("Do you want trees delivered? enter yes or no ")

price_of_two_meters = 20

total_price = number_of_trees * price_of_two_meters

//Invoice

print (number_of_trees)

print(height_of_trees)

print (total_price)

print (delivery_status)

You might be interested in
Take a minute to reflect on your thoughts and learning so far and discuss:
jek_recluse [69]

Answer:

To be completely honest, this is a question that you and only you can answer really. You were the one that took the class and we cant reflect on your thoughts for you. I'm not trying to be one of those people, but its the truth.

Explanation:

5 0
3 years ago
Which shortcut key combination will move the cursor to the beginning of the line?
Lina20 [59]

Answer:

Home Key

Explanation:

To move the cursor to the beginning of line:

Press `HOME` button on keyboard

5 0
3 years ago
Your boss wants to utilize some sort of cloud storage for his files so that all of his
Valentin [98]

Well, if he's using Google Drive or OneDrive it shows up in the main menu so My best guess would be Local Profile

4 0
3 years ago
Read 2 more answers
Diane changes the size of an image with the format picture pane and keeps the original ratio of height to width of the object. W
bixtya [17]

Answer:

it's d.  

Explanation: post protected

7 0
3 years ago
Sammy's Seashore Supplies rents beach equipment such as kayaks, canoes, beach chairs, and umbrellas to tourists. Write a program
murzikaleks [220]

Answer:

// here is code in java.

import java.util.*;

// class definition

class SammysRentalPrice

{

// main method of the class

public static void main(String[] args) {

    // scanner object to read input from user

    Scanner s=new Scanner(System.in);

      // ask user to enter year

       System.out.print("Enter the rented minutes:");

       // read minutes

      int min=s.nextInt();

      // find hpurs

      int hours=min/60;

      // rest  of minutes after the hours

      min=min%60;

      // total cost

      int tot_cost=(hours*40)+(min*1);

      // print hours,minute and total cost

      System.out.println("total hours is: "+hours);

      System.out.println("total minutes is: "+min);

      System.out.println("total cost is: "+tot_cost);

     

}

}

Explanation:

Read the rented minutes of an equipment from user with the help of scanner object. Calculate the hours and then minutes from the given minutes.Calculate the cost by multiply 40 with hours and minute with 1.Add both of them, this will be the total  cost.

Output:

Enter the rented minutes:140

total hours is: 2

total minutes is: 20

total cost is: 100

7 0
3 years ago
Other questions:
  • Which of the following is an extension of the fill pattern Sunday,Tuesday?
    10·2 answers
  • If x window system is installed, linux users can use x11 forwarding to run __________ as they would on a windows computer. gui a
    11·1 answer
  • Write the DML statement to query the database for the following: Output the fname, lname, total_amount_owed of the student with
    5·1 answer
  • Assignment 2 edhesive
    8·2 answers
  • Case Study
    15·1 answer
  • Which type(s) of license(s) allow the underlying software code to be viewed?
    15·1 answer
  • D) Software which is basically language translation software.​
    11·1 answer
  • Which of the following statements is true about DVI connectors? *
    10·1 answer
  • Points! taga pilipinas ba kayo?​
    10·1 answer
  • Which of the following programming languag
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!