Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

JavaScript help please

Featured Replies

I'm trying to take a list of grades and calculate what I would need to get on a test in-order to get an "A". I'm just having trouble with the equation.

var HW1=95;

var HW2=0;

var HW3=100;

var HW4=100;

var MT=100;

var Final;

var PointsPossible=600;

document.write(Final)

This is about all I have. Like I said, I need to take the grades and figure out what I need on the Final to get an "A" (>=90). I'm just completely lost on how to set up the equation and if I need any more variables or information.

Can anybody help me out?


isnt this just some simple math?

Final=(HW1+HW2+HW3+HW4+MT)/PointsPossible

if(Final>=90){ you get an A :) }

btw, does a MT count 2x? if so you need to do:

Final=(HW1+HW2+HW3+HW4+(MT*2))/PointsPossible

Edited by ripken204

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.