Question: 1 . Write a C program that takes in an integer that holds a person's age, and outputs a movie ticket price. Movie prices are
Write a C program that takes in an integer that holds a person's age, and outputs a movie ticket price.
Movie prices are free for everyone under the age of Ticket prices are $ for ages $
for ages and $ for ages and above.
Ex: If the input is: ; the output is: $
If the input is: ; the output is: $
If the input is: ; the output is: free
Start writing your code here...
Write a C Program using "for" loop that repeatedly reads in integers until a negative integer is read. The program also keeps track of the largest integer that has been read so far and outputs the largest integer at the end. Assume a tier will enter at least one non zero integer
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
