surajm-333 / Ace-The-FrontEnd

This repository contains frontend projects that will help you to become an ace Frontend Developer.
198 stars 173 forks source link

Add project: CGPA Calculator #714

Closed BIKRAM-SAHA closed 2 years ago

BIKRAM-SAHA commented 2 years ago

Description 📜

Fixes #175


Type of change 📝


Domain of Contribution 📊


Checklist ✅


Screenshots / Gif 📸

image image image

surajm-333 commented 2 years ago

@BIKRAM-SAHA if sgpa1 = 9.44 and sgpa2 = 8.78 then how is ygpa = 9.44?

BIKRAM-SAHA commented 2 years ago

@BIKRAM-SAHA if sgpa1 = 9.44 and sgpa2 = 8.78 then how is ygpa = 9.44?

@surajm-333 apologies the issue happened because I did not type cast value from input fields to float before calculating. Have corrected the comment and made necessary changes

surajm-333 commented 2 years ago

@BIKRAM-SAHA if sgpa1 = 9.44 and sgpa2 = 8.78 then how is ygpa = 9.44?

@surajm-333 apologies the issue happened because I did not type cast value from input fields to float before calculating. Have corrected the comment and made necessary changes

Upload a screenshot of calculation of all 4 ygpa and total cgpa. Also I think the formula for Total Cgpa you have mentioned is incorrect. If it is so then correct it.

BIKRAM-SAHA commented 2 years ago

@BIKRAM-SAHA if sgpa1 = 9.44 and sgpa2 = 8.78 then how is ygpa = 9.44?

@surajm-333 apologies the issue happened because I did not type cast value from input fields to float before calculating. Have corrected the comment and made necessary changes

Upload a screenshot of calculation of all 4 ygpa and total cgpa. Also I think the formula for Total Cgpa you have mentioned is incorrect. If it is so then correct it.

@surajm-333

  1. image
BIKRAM-SAHA commented 2 years ago

Upload screenshot of all 4 YGPA and Total CGPA. Also correct the Total CGPA formula.

again I apologize there is a slight mistake it should be: CGPA= (YGPA1+YGPA2+1.5*YGPA3+1.5*YGPA4)/5 I will update the same in the code. If you think it should be anything else please comment I will do the necessary changes

BIKRAM-SAHA commented 2 years ago

Upload screenshot of all 4 YGPA and Total CGPA. Also correct the Total CGPA formula.

@surajm-333 Updated values:

  1. image
  2. image
  3. CGPA= CGPA= (YGPA1+YGPA2+1.5YGPA3+1.5YGPA4)/5
anamansari062 commented 2 years ago

@BIKRAM-SAHA Add proper heading of pr

BIKRAM-SAHA commented 2 years ago

@BIKRAM-SAHA Add proper heading of pr

@anamansari062 done

BIKRAM-SAHA commented 2 years ago

have updated the CGPA value in the HTML too image