Topics: Console, Comments, Data Types, Arithmetic Operators, String Concatenation, Properties, Methods, Built-in Objects
Project Title: Marksheet
- Create a html file with your name like john.html
- Add current code to that file:
<!DOCTYPE html> <html> <body> <script> // your code here </script> </body> </html>
- Use console.log to log these info in the console.
|Subject||Full Marks||Pass Marks||Obtained|
- No need to show lines
- Do not use variables
- Average can not be 60 itself. use + operator to sum marks and / operator to calculate the average.
\tto make space between columns. First line would be like this:
console.log("Subjects \t Full Marks \t Pass Marks \t Obtained");
Want to get reviewed?
Send Pull Request. Check how to deliver your code: https://codingwithbasir.com/how-to-deliver-projects/