INSTRUCTIONS: provide text format to copy source code and screenshots of running output/source code. Thank you. Create python program for the following and use only the looping statements: -Write a program that will compute for the factorial of a supplied number.  The factorial of the number if the product of those numbers starting from 1 to the supplied number. - Write the program that will accepts a string and output the letter per line.  For example an input of The World is beautiful.             will produce       T h e W o r l d i s b e a u t i f u l -Write a program that takes nouns and forms their plurals on the basis of these rules: If a noun ends in “y”, remove the “y” and add “ies” If a noun ends in “s”, “ch” or sh, add “es” In all other cases, just add “s”

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter14: Exception Handling
Section: Chapter Questions
Problem 11SA
icon
Related questions
icon
Concept explainers
Question

INSTRUCTIONS: provide text format to copy source code and screenshots of running output/source code. Thank you.

  1. Create python program for the following and use only the looping statements:

-Write a program that will compute for the factorial of a supplied number.  The factorial of the number if the product of those numbers starting from 1 to the supplied number.

- Write the program that will accepts a string and output the letter per line.  For example an input of

The World is beautiful.

            will produce

      T

h

e

W

o

r

l

d

i

s

b

e

a

u

t

i

f

u

l

-Write a program that takes nouns and forms their plurals on the basis of these rules:

    1. If a noun ends in “y”, remove the “y” and add “ies”
    2. If a noun ends in “s”, “ch” or sh, add “es”
    3. In all other cases, just add “s”

 

Expert Solution
steps

Step by step

Solved in 3 steps with 8 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning