Computer Applications
Draw flowchart for the following:
Accept a number and check:
(a) whether the number is divisible by 2 and 5.
(b) whether the number is divisible by 2 but not by 5.
(c) whether the number is divisible by 5 but not by 2.
Display the message accordingly
Algo & Flowcharts
339 Likes
Answer
Flowchart

Answered By
216 Likes
Related Questions
Write algorithms and draw flowcharts for the following:
Accept three numbers and check whether they are 'Pythagorean Triplets' or not. Display the message accordingly.
(Hint: Use Pythagoras Formula for a Right-angled Triangle: h = p2+b2)In a cricket match, a viewer carries a laptop in the stadium every day to keep record of the runs made by each batsman. When a player comes to bat, the viewer enters the previous runs made by the player. Further, he enters the runs scored for each ball. When the runs entered on a ball is -1, it means the player is out. The laptop then displays the runs made by the player in the current innings as well as the total. The process continues until all the players are out. Draw a flowchart for the task stated above.
Draw flowchart for the following:
Input three angles of a triangle and check whether a triangle is possible or not. If possible, then check whether it is an 'Acute-angled Triangle, 'Obtuse-angled Triangle' or a 'Right-angled Triangle'.
Draw flowchart for the following:
Accept the name and marks obtained by a student in Computer Project. Display the grades as per the table given below:
Marks obtained Grade 80% or more A 60% or more but less than 80% B 40% or more but less than 60% C Less than 40% No Grade