Write a program in java to accept three numbers and find then smallest.
Plzz help
Answers
Answered by
1
Answer:
Start.
Take three numbers in a, b, c.
Check if a is less than b and a is less than c.
If above condition is true, a is smallest and go to step 7, else go to step 5.
Check if b is less than c.
If above condition is true, b is the smallest, else c is the smallest.
Stop.
Similar questions
Math,
3 months ago
Science,
3 months ago
English,
3 months ago
Social Sciences,
7 months ago
Political Science,
1 year ago