Draw a flowchart to check whether the number is divisible by 5 or not?
Answers
Answered by
72
ANSWER:
Plzzzzzzz..........Mark me as Brainliest.
Attachments:
Answered by
13
To find a number is divisible by 5 or not , we need to follow some steps, in order to reach the desired outcome.
Here, are the step used in flowchart to perform the desired operation:
- Start
- Initialize a variable num as a integer datatype.
- Read the value of num from the user.
- Check if
- num%5==0
- The number is divisible by 5.
- else
print The number is not divisible by 5.
- Stop
Below is the flowchart of the above written steps:
Attachments:
Similar questions