Recent content by rawxlimits
-
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...- rawxlimits
- Thread
- Intro Programming
- Replies: 8
- Forum: Programming and Computer Science