Write a loop in which you ask users their age

Assignment Help Computer Engineering
Reference no: EM131930031

Problem

Movie Tickets: A movie theater charges different ticket prices depending on a person's age. If a person is under the age of 3, the ticket is free; if they are between 3 and 12, the ticket is $10; and if they are over age 12, the ticket is $15. Write a loop in which you ask users their age, and then tell them the cost of their movie ticket.

Reference no: EM131930031

Questions Cloud

Store the names of the given animals in a list : Store the names of these animals in a list, and then use a for loop to print out the name of each animal.
Store the given pizza names in a list : Think of at least three kinds of your favorite pizza. Store these pizza names in a list, and then use a for loop to print the name of each pizza.
Us tariffs on tire imports from china : In September 2009, President Obama placed a tariff on tire imports from China. The tariff was a response to a rising tide of imports from China
Write a program that polls users about their dream vacation : Write a program that polls users about their dream vacation. Write a prompt similar to If you could visit one place in the world, where would you go?
Write a loop in which you ask users their age : Write a loop in which you ask users their age, and then tell them the cost of their movie ticket.
Write a program that asks user how many people are in group : Write a program that asks the user how many people are in their dinner group. Ask the user for a number, and then report whether the number is a multiple of 10.
Write a program that asks the user what kind of rental car : Write a program that asks the user what kind of rental car they would like. Print a message about that car, such as Let me see if I can find you a Subaru.
Find a quote from a famous person you admire : Famous Quote: Find a quote from a famous person you admire. Print the quote and the name of its author.
Store a persons name in a variable and then print that name : Name Cases: Store a person's name in a variable, and then print that person's name in lowercase, uppercase, and title case.

Reviews

Write a Review

Computer Engineering Questions & Answers

  About rtp sessions

Consider an RTP session consisting of four users, all of which are sending and receiving packets to same multicast address. Each user transmits the video at 100 kbps. RTCP will limit its traffic to what rate?

  Express and give an example of a web database.

Explain the difference between system design and system analysis.

  Chomsky normal form

Requesting assistance with the Theory of Computing.Construct a PDA that accepts L.

  Disadvantages of using mobile computing technology

Analyze the advantages and disadvantages of using mobile computing technology to monitor patients. Assess the security concerns with regard to the transmission of personal medical information over wireless networks

  A word document with another office-type document

A compound document within Microsoft Office usually consists of a Word document with another office-type document (i.e. Excel, PowerPoint slideshow, etc.) within the Word document.

  Write down a java program, which build a binary tree

Write down a java program, which build a binary tree

  This assignment is due for online students by midnight on

this assignment is due for online students by midnight on sunday of week 7 and for on-ground students before week 8s

  How to code for iteration through the use of loops

How to code for iteration through the use of loops. In Stepping Stone Lab Four, you will develop a simple program with a loop structure.

  Techniques for executing equijoin

Discuss the different techniques for executing equijoin of two files located at different sites.

  Implement very fast algorithms that make initial processing

In digital signal processing, it is important to implement some very fast algorithms that make initial processing of a digitized signal stream.

  Describe what a bitmapped graphic format is

Describe what a bitmapped graphic format is and compare: GIF, PNG, and BMP. What are the 16-bit 1's and 2's complements of the following binary numbers?

  Determining the salary of person

Write down a program which determines how much a person earns in a month in case the salary is one penny first day, two pennies second day, four pennies the third day, and so on with the daily pay doubling each day employee works.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd