You need to sign in to do that
Don't have an account?
sreekanth vallepu
how to calculate percentage it will show the error
totalmarks(){
const t=parseInt(this.telugu);
const h=parseInt(this.hindi);
const e=parseInt(this.english);
const m=parseInt(this.maths);
const s=parseInt(this.science);
const so=parseInt(this.social);
this.currentoutput='totalpercentage=' +(t+h+e+m+s+so/600);
}
const t=parseInt(this.telugu);
const h=parseInt(this.hindi);
const e=parseInt(this.english);
const m=parseInt(this.maths);
const s=parseInt(this.science);
const so=parseInt(this.social);
this.currentoutput='totalpercentage=' +(t+h+e+m+s+so/600);
}
Try The Below Code Please Mark it As Best Answer If It Helps
Thank You!