E portfolio

Post on 13-Apr-2017

121 views 0 download

transcript

FLOWCHART AND

PSEUDOCODE

1. A flowershop sells roses for Php 25 each and tulips for Php 40

each. Prepare a flowchart, pseudocode, and python code that determines how much Irene will spend if she

will buy R number of rose and T number of tulips.

2. Print your average

grade if it is greater than

85.

3. Accept and print positive numbers

only.

4. Input 3 numbers a, b, and c, a. If a is equal to b, print c b. If a is greater than b, then print their difference c. If b is less than c, then print their sum, otherwise print their average

5. Print passed if the user specified grade is at least 75, if otherwise print failed.

6. Convert the user’s weight from pounds to kilograms if the inputted value is positive. Otherwise, print invalid data. (1kg = 2.2 lbs)

7. Compute for the equivalent percentage grade of the given score using the format score/100*60+40. Print a corresponding remark based on the following guidelines:- 90-100 excellent- 85-89 very good- 80-84 good- 75-79 fair- 74 below – needs improvement

Create an ATM simulator

program in python:

1. WITHDRAWING

2.DEPOSITI

NG

INPUT

3. COMBINATION OF WITHDRAWING AND DEPOSITING (using

conditional statement). Put a password in every

transaction.

vInput

4. UPDATING BALANCE

Turtle Acitivity #1

Turtle Activity #2

Turtle Activity #3