Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- 1.w.a.p which accept 5 number from user and print positive number from it
- Input
- 23 -5 43 0 12
- Output
- 23 43 12
- */
- /*
- 2.w.a.p which accept marks of 5 subject and print percentage according to marks.
- Input
- marks1 =67
- marks2 =84
- marks3 =91
- marks4 =65
- marks5 =51
- ----------
- 358
- Percentage of given marks is 71.30
- 358*100/500=%
- */
Advertisement
Add Comment
Please, Sign In to add comment