Find the greatest of the three numbers using conditional operators.
This post content:-
- Algorithm
- Flowchart
- C code
- Output
- Pdf notes
Algorithm:-
Step 1:- start.
Step 2:- declare variables char a.
Step 3:- if a>b and c>b then print c is the greatest number.
Step 4:- if a>b and a>c then print a is the greatest number.
Step 5:- if b>c then print b is the greatest number.
Step 6:- END.
Flowchart:-
Comments
Post a Comment