Saturday, 22 July 2017

11D- Pract-4.Write Algorithm and programme for read marks obtained in five subjects and give the percentage of marks.


Algorithim

Input

1)P  2)C 3)M 4)CS 5)E
Output
1)Per  //percentage
Method:
1.Start
2.Read P,C,M,CS & E
3.Write P,C,M,CS & E
4.tot=(P+C+M+CS+E);
5.per=tot/5;
6.Write per
7.stop

1 comment:

  1. Sir, but if per=tot/5
    then it would become average instead of percentage.
    From Class 11D

    ReplyDelete