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
Anna35 [415]
3 years ago
7

Module main() //Declare local variables Declare Real restaurantSales //Set gratuity tax rate as 10 percent Declare Real salesTax

Rate=10 Declare Real restaurantTaxes Declare Real expectedGratuities //Set gratuity tax rate as 8 percent Declare Real gratuityTaxRate=8 Declare Real gratuityTax //call getRestaurantTax module getRestaurantTax(restaurantSales, salesTaxRate, restaurantTaxes); //call getGratuitiesTax module getGratuitiesTax(expectedGratuities, gratuityTaxRate, gratuityTax); //call display module display(restaurantSales, restaurantTaxes, expectedGratuities, gratuityTax) End Module Module getRestaurantTax(real restaurantSales, real salesTaxRate, real ref restaurantTaxes) //calculate the restaurant taxes restaurantTaxes=restaurantSales*(salesTaxRate/100.0) End Module Module getGratuitiesTax(real expectedGratuities, real gratuityTaxRate, real ref gratuityTax) //calculate the gratuities taxes gratuityTax=expectedGratuities*(gratuityTaxRate/100.0) End Module Module display(real restaurantSales,real restaurantTaxes, real expectedGratuities, real gratuityTax) //print the sales ,gratuities to output window Print "Restaurant Sales, $" , restaurantSales Print "Restaurant Taxes, $" , restaurantTaxes Print "Expected Gratuities, $" , expectedGratuities Print "GratuityTax, $" , gratuityTax End Module
Computers and Technology
1 answer:
Nastasia [14]3 years ago
6 0

Answer:

Check the explanation

Explanation:

Program module pseudo code to find the restaurant sales, gratuity tax

Module main()

  //Declare local variables

  Declare Real restaurantSales

//Set gratuity tax rate as 10 percent

  Declare Real salesTaxRate=10

  Declare Real restaurantTaxes

  Declare Real expectedGratuities

//Set gratuity tax rate as 8 percent

  Declare Real gratuityTaxRate=8

  Declare Real gratuityTax

 

  //call getRestaurantTax module

  getRestaurantTax(restaurantSales, salesTaxRate, restaurantTaxes);

  //call getGratuitiesTax module

  getGratuitiesTax(expectedGratuities, gratuityTaxRate, gratuityTax);

  //call display module

  display(restaurantSales, restaurantTaxes, expectedGratuities, gratuityTax)

End Module

Module getRestaurantTax(real restaurantSales, real salesTaxRate, real ref restaurantTaxes)

  //calculate the restaurant taxes

  restaurantTaxes=restaurantSales*(salesTaxRate/100.0)

End Module

Module getGratuitiesTax(real expectedGratuities, real gratuityTaxRate, real ref gratuityTax)

  //calculate the gratuities taxes

  gratuityTax=expectedGratuities*(gratuityTaxRate/100.0)

End Module

Module display(real restaurantSales,real restaurantTaxes, real expectedGratuities, real gratuityTax)

  //print the sales ,gratuities to output window

  Print "Restaurant Sales, $" , restaurantSales

  Print "Restaurant Taxes, $" , restaurantTaxes

  Print "Expected Gratuities, $" , expectedGratuities

  Print "GratuityTax, $" , gratuityTax

End Module

You might be interested in
When working on word processor document,the del key does what
miskamm [114]
It deletes. so if you write a word and you want to delete it you just press on the del key and it's going to delete letter by letter.
Hope this helped!
4 0
4 years ago
Read 2 more answers
Select the correct answer from each drop-down menu.
Troyanec [42]

Answer:

... where drop down menu? from what i got, back up ur data daily

Explanation:

5 0
3 years ago
Some designer suggest that speech recognition should be used in tale phone menu system. This will allow users to interact with t
Sergio [31]

Answer:

My two arguments against the proposal are based on physical side effects and background noise interference.

Explanation:

To start with physical side effects, the use of speech recognition technology might make users experience physical discomfort. This is due to the fact that users who interact with the system by speaking for a long period would experience dry mouth, temporary loss of voice, vocal problems and muscle fatigue. In addition, the fact that users would always speak in an unnatural way to make the system interpret commands effectively could lead to voice strain.  

Also, users need to be in a quiet environment before they can get the best out of speech recognition technology. This is because background noise can interfere with commands and create a mix-up which the system cannot interpret. In other words, when an environment is noisy, speech recognition technology would find it difficult to differentiate between users voice and background noise.

4 0
3 years ago
Match the components of a blog to their descriptions.
motikmotik

Answer:

Explanation:

1. entry title - name of the posting

2. permalink - place where a blog posting is located

3. entry date - when the posting became available

4. comment - allows users to add to the conversation

3 0
3 years ago
When a policy setting in Computer Configuration and User Configuration in the same GPO conflict, the Computer Configuration poli
Maru [420]

Answer:

True

Explanation:

Computer Configuration policy applied first. This happens when the Computer system boots up. Then the user policy is applied when the user logs on. This takes place when the user object is in the same organizational unit.

So Computer Config policy setting takes precedence. User configurations is applied to local users only while computer configuration is applied to the machine itself. First the Computer GPO is applied and then the User GPO.  Loopback processing in replace mode enforces the Computer GPO over the user GPO.

8 0
4 years ago
Other questions:
  • How to remove info from a broken laptop and transfer?
    5·1 answer
  • What is the name of the malware included in CCleaner?
    11·1 answer
  • To activate a wizard to help in creating combo boxes and command buttons, make sure the ____ button is selected
    6·1 answer
  • Is an important and necessary step that precedes object-oriented programming?
    6·1 answer
  • The ____ method writes a newline character after the data.
    11·1 answer
  • In a singing competition, there are 34 more men than women
    5·2 answers
  • Which of these is an example of input?
    6·1 answer
  • 4. Describe a report that a company might want to create and run on a regular basis. (1-3
    10·1 answer
  • Will give BRAINLIEST, PLEASE HELP, WILL BE MUCH APPRECIATED
    13·1 answer
  • What rpm command can be used to list the full paths for files within the bash package?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!