11C- Pract-4.Algorithm for read marks obtained in five subjects and give the percentage of marks.
4.Algorithm for read marks obtained in five subjects and give the percentage of marks. 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/500)*100; 6.Write per 7.stop
No comments:
Post a Comment