Q2 Draw a flowchart to input a number. Find its square if the entered number is multiple of 10. If entered number if not a multiple of 10, then find its cube
Answers
Answered by
1
Answer:
sorry make a Brain list answer
Answered by
0
Explanation:
1. start
2. take a number from the user name it as int num.
3. Check it's multiple of 10,
we can do it by finding the mod
if num % 10 ==0 then
3.1 int res= num*num;
else
3.2 int res=num*num*num;
4. print the res.
5. stop
Similar questions
Biology,
3 hours ago
Social Sciences,
3 hours ago
Hindi,
6 hours ago
Computer Science,
6 hours ago
Accountancy,
8 months ago
World Languages,
8 months ago
Computer Science,
8 months ago