Write A Program In C To Prepare Marksheet And Marks Of All Subjects.(Programmed By Sandesh Acharya)

This is A Simple programming For Preparing And Calculating The Marks of All Subjects.
For Full Program Click  On Read More.........


#include<stdio.h>
main() {
int m1,m2,m3,m4,m5,m6,m7,m8,total;
float per;
printf("Enter Your marks In per 1000?");
printf("Enter the marks of Social Studies:");
scanf("%d",&m1);
printf("Enter the marks of Science:");
scanf("%d",&m2);
printf("Enter the marks of Nepali:");
scanf("%d",&m3);
printf("Enter the marks of English:");
scanf("%d",&m4);
printf("Enter the Marks of Math:");
scanf("%d",&m5);
printf("Enter the marks of Moral:");
scanf("%d",&m6);
printf("Enter the marks of Grammar:");
scanf("%d",&m7);
printf("Enter the Marks of Computer:");
scanf("%d",&m8);
total=m1+m2+m3+m4+m5+m6+m7+m8;
printf("The total Marks is %d.\n",total);
        per=total/8;
printf("Your Percentage is = %f.\n,per");
return 0;
}






Comments

Popular posts from this blog

Our Mobile Apps... Sandesh Acharya Programs>>> ByProgrammer: Sandesh Acharya

Creating A Simple Virus In Python. Creator:Sandesh Acharya

Do all Complex Calculations By Using This Application By Programmer Sandesh Acharya