COS 1512 ASSIGNMENT 1

Johns Hopkins University

Hier vind je de beste samenvattingen om te slagen voor COS 1512 ASSIGNMENT 1. Er zijn o.a. samenvattingen, aantekeningen en oefenvragen beschikbaar.

Alle 1 resultaten

Sorteer op

COS 1512 ASSIGNMENT 1
  • COS 1512 ASSIGNMENT 1

  • Tentamen (uitwerkingen) • 5 pagina's • 2021
  • Question 1 //Calculate tuition fees based on number of new modules //and the number of repeat modules #include <iostream> using namespace std; int calcFees (int numberOfNewModules, float nModFee) { return (numberOfNewModules * nModFee); } int calcFees (int numberOfNewModules, float newModFee, int numberOfRepeatModules, float repeatModFee) { return (numberOfNewModules * newModFee + numberOfRepeatModules * repeatModFee); } int main() { int numberOfRepeatModules, numberOfNe...
    (0)
  • $3.49
  • + meer info