Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2: Roman - use print statements to print this data Ask for a number (1-10) and show the corresponding roman number Must use elif

image text in transcribed

Problem 2: Roman - use print statements to print this data Ask for a number (1-10) and show the corresponding roman number Must use elif statements to determine the conversion. Give error message if number is not 1-10 (see ch 3 PowerPoint slide 42 for help) Problem 3: Cost of Bagels A bagel shop charges 75 cents per bagel for orders of less than a halfdozen bagels and 60 cents per bagel for orders of a half-dozen or more. Write a program that requests (input statement) the number of bagels ordered and displays the total cost formatted with 2 decimal points. Sample output: Enter number of bagels: 12 Cost is $7.20

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

2. How will the team select a leader?

Answered: 1 week ago