1. Write an algorithm, flowchart, and pseudocode, to find cube of any number..
2. Write an algorithm, flowchart, and pseudocode, to find diameter, circumference and area of circle using radius.
3. Write an algorithm, flowchart, and pseudocode, to find maximum and minimum between two numbers.
4. Write an algorithm, flowchart, and pseudocode, to check whether a number is even or odd.
Answers
Answered by
0
Pseudocode to Find Whether a Number is Even or Odd
So 6 will be stored inside variable "number". Now the next step in algorithm (i.e number%2==0), in this step (number%2) returns the remainder after dividing number by 2. Now the next step (i.e. remainder==0) simply checks if the remainder value is equal to 0 or er a
Similar questions