netx_iit

Task

Apr 17th, 2021
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.36 KB | None | 0 0
  1. /*
  2. 1.w.a.p which accept 5 number from user and print positive number from it
  3. Input
  4. 23 -5 43 0 12
  5.  
  6. Output
  7. 23 43 12
  8. */
  9.  
  10. /*
  11. 2.w.a.p which accept marks of 5 subject and print percentage according to marks.
  12. Input
  13. marks1 =67
  14. marks2    =84
  15. marks3   =91
  16. marks4   =65
  17. marks5   =51
  18. ----------
  19.       358
  20.  
  21. Percentage of given marks is 71.30
  22. 358*100/500=%
  23. */
Advertisement
Add Comment
Please, Sign In to add comment