0
Which is the best app to learn algorithm and flowchart
5 odpowiedzi
+ 1
There is an app called "Algorithms: Explained and Animated " on Google Play Store.
It is pretty good.
Link: https://play.google.com/store/apps/details?id=wiki.algorithm.algorithms
0
Algorithm activity 6
Modify your flow chart on activity 5 to allow repetitive computation for the student final grade. Your new algorithm should allow
0
# Find maximum of two numbers
# Step 1: Input numbers
A = float(input("Enter first number (A): "))
B = float(input("Enter second number (B): "))
# Step 2: Compare
if A > B:
Max = A
else:
Max = B
# Step 3: Display result
print("Maximum number is:", Max)
0
┌───────────┐
│ Start │
└─────┬─────┘
│
▼
┌─────────────────┐
│ Input A and B │
└─────┬───────────┘
│
▼
┌─────────────────┐
│ Is A > B ? │
└───┬─────┬───────┘
│Yes │No
▼ ▼
┌─────────┐ ┌─────────┐
│ Max = A │ │ Max = B │
└────┬────┘ └────┬────┘
│ │
└─────┬─────┘
▼
┌─────────────────┐
│ Display Max │
└─────┬───────────┘
│
▼
┌───────────┐
│ Stop │
└───────────┘