Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use phyton please answer all README.md # Statement 1 2 3 Given a year (as a positive integer), find the respective number of the century.

image text in transcribed
image text in transcribed
image text in transcribed
use phyton please answer all
README.md # Statement 1 2 3 Given a year (as a positive integer), find the respective number of the century. Note that, for example, 20th century began with the year 1901. 4 5 Examples of inputs and correct outputs are provided below. Notice the output format carefully. 6 7 ### Example 1 input & 9 1817 11 12 output Century 15 Input 23 output 2 O a README.md 1 # Statement 2 3 A cupcake costs "A dollars and B cents. Determine, how many dollars and cents should one pay for N cupcakes. A program gets three numbers: "A, "B, "N. It should print two numbers: total cost in dollars and cents. 4 5 Examples of inputs and correct outputs are provided below. Notice the output format carefully. 6 ### Example 1 input 09 Nch 10 11 12 12 15 2 output The total cost is 20 dollars and 30 cents 15 17 # Example 2 input 28 a E README.md 1 # Statement 2 3 Given a positive real number, print its first digit to the right of the decimal point. 4 5 Examples of inputs and correct outputs are provided below. Notice the output format carefully. So #*Example 1 input 8 9 1.79 output 10 11 12 13 14 15 10 The digit after the decimal is 7 * Example 2 input 9925649245 23 93 2 output The right after the decinalis a

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

More Books

Students also viewed these Databases questions

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago

Question

why do consumers often fail to seek out higher yields on deposits ?

Answered: 1 week ago