How to find subtotal?


#1


https://www.codecademy.com/courses/learn-javascript/lessons/functions/exercises/return?action=lesson_resume&link_content_target=interstitial_lesson


#2

4.Inside the getSubTotal function's block, use return to output the itemCount multiplied by 7.5.

function getSubTotal(itemCount){
  return itemCount * 7.5;
}

That should work.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.