1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
4
4
4
4
4
4
4
4
6
6
6
6
8
8
8 output
1
1
2
2
2
2
3
3
3
3
4
4
4
4
5
5
5
5
T
T
T
T
T
T
T
T
T
T
T
T
T
T
F
F
F
F
4
4
4
4
2
2
2
2
6
6
6
6
8
8
8
T
F
F
F
F
F
F
T
T
F
F
T
T
F

Computer Applications in Engineering
Prob. 1.
Write an algorithm and draw a flowchart to print the
square of all
numbers from LOW to HIGH. Test with LOW=1
and HIGH=10.
Prob. 2.
Write an algorithm and draw a flowchart to print the
SUM of numbers from LOW to HIGH. Test with LOW=3 and
HIGH=9.
Prob. 3.
Write an algorithm and draw a flowchart to print the
SUM of numbers from LOW to HIGH. Test with LOW=3 and
HIGH=9.
Prob. 4.Write an algorithm and draw a flowchart to print all numbers between LOW and HIGH that are divisible by NUMBER.
Write an algorithm and draw a flowchart to print all the prime numbers between LOW and HIGH. Test with LOW=1 and HIGH=100.

Write an algorithm and draw a flowchart to count
and print all numbers from LOW to HIGH by steps of STEP.
Test with LOW=0 and HIGH=100.
Prob. 7.
Write an algorithm and draw a flowchart to count
and print all numbers from HIGH to LOW by steps of STEP.
Test with HIGH=100 and LOW=0.
Prob. 8.
Write an algorithm and draw a flowchart to print
the multiplication table for 6's. i.e.
---- 1
6 = 6
---- 2
6 = 12
…
---- 12
6 = 72
Exercises

Computer Applications in Engineering
Prob. 9.Write an algorithm and draw a flowchart to print
Write an algorithm and draw a flowchart to
Write an algorithm and draw a flowchart that
will find and print the product of 3 numbers.
Exercises

Computer Applications in Engineering
Prob
. 12.Write an algorithm and draw a
Write an algorithm and draw a
flowchart that will find and print the number of
vowels in a given set of characters and print there
number of occurrences.
Exercises

#### You've reached the end of your free preview.

Want to read all 53 pages?

- Fall '15
- KOYUNCU
- Max, Computer program, Pseudocode & Algorithm