PROGRAM :-

OUTPUT :-

We can also write this code using for loop instead of using three printf and scanf . we also need an array because of for loop.
PROGRAM :-

OUTPUT :-

By Manoj Chaudhari
PROGRAM :-

OUTPUT :-

We can also write this code using for loop instead of using three printf and scanf . we also need an array because of for loop.
PROGRAM :-

OUTPUT :-
