Algorithm:
1. start the program
2. Input a number
3. check whether number is divisible by 2 or not. if yes goto step 4
otherwise goto step 5
4. display that the numebr is even and go to step 6
5. display that the number is odd.
6. stop the program
Algorithm:
1. start the program
2. Input a number
3. check whether number is divisible by 2 or not. if yes goto step 4
otherwise goto step 5
4. display that the numebr is even and go to step 6
5. display that the number is odd.
6. stop the program
Construction and working of alternator: Figure: Alternator Construction It…
0 Comments