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
334 Likes
Answer
Flowchart
Answered By
214 Likes
Related Questions
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:
Input the quantity purchased and the rate. Calculate the total purchase price and display it along with the gift to be presented. The gifts to the customers are given as under:
Amount of Purchase (Rs.) Gift 100 and above but less than 500 A key ring 500 and above but less than 1000 A leather purse 1000 and above A pocket calculator The flowchart will end with a 'Thank you' message.
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