Computer Science, asked by singamayumsarfraz, 7 months ago

Draw a flowchart to check whether the number is divisible by 5 or not?

Answers

Answered by madhurimachakuvis
72

ANSWER:

Plzzzzzzz..........Mark me as Brainliest.

Attachments:
Answered by monica789412
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
  •   print
  • 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