RKS: Computer Science
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:
Unknown
1 August 2017 at 05:37
Sir, but if per=tot/5
then it would become average instead of percentage.
From Class 11D
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Sir, but if per=tot/5
ReplyDeletethen it would become average instead of percentage.
From Class 11D