Home Angular How to do the student mark calculation in Angular

How to do the student mark calculation in Angular

5 min read
0
0
66

In this tutorials will teach How to do the student mark calculation in Angular.

First you have to add the FormsModule inside the imports.

Create the new Components studentmarks

studentmarks.component.html

studentmarks.component.ts
  marks1:string = ”;
  marks2:string = ”;
  marks3:string = ”;
  result:number=0;
  avg:number=0.0;
StudentTot()
{
  this.result = parseInt(this.marks1) + parseInt(this.marks2) + parseInt(this.marks3);
  this.avg = (this.result) / 3 ;
}

i have attached the video link below. which will do this tutorials step by step

 

  • Angular Spring boot API Bootstrap Table load

    This Angular and Spring boot tutorial will teach you how to view the records using Restful…
  • Angular How to Add Two Number

    In this tutorials will teach How to add two numbers in Angular. First you have to add the …
Load More Related Articles
  • Python for Beginners

    Python is a world best programming language.in this tutorials we cover about the fundament…
  • Point of Sales System Using Java and Mysql

    The Point of  sales System is developed using Java and mysql. The project is built to mana…
  • Scanner class

    Scanner class in java which is assume to input the data and read the data. Example  1 Inpu…
Load More By admin
  • Angular How to Add Two Number

    In this tutorials will teach How to add two numbers in Angular. First you have to add the …
Load More In Angular

Leave a Reply

Your email address will not be published.

Check Also

Python for Beginners

Python is a world best programming language.in this tutorials we cover about the fundament…