Recent content by rawxlimits

  1. R

    MHB Intro Programming: Computing Total Cost

    A drink costs 2 dollars. A taco costs 3 dollars. Given the number of each, compute total cost and assign to totalCost. Ex: 4 drinks and 6 tacos yields totalCost of 26. import java.util.Scanner; public class ComputingTotalCost { public static void main (String [] args) { int numDrinks...
Back
Top