×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Carson forte
Added: Sep 21, 2018 3:39 PM
Views: 3414
Tags: no tags
  1. if(r==0) {System.out.print("no rice, "); }
  2.                         if(r==1) {System.out.print("white rice, "); }
  3.                         if(r==2) {System.out.print("brown rice, "); }
  4.                        
  5.                         if(b==0) {System.out.print("no beans, "); }
  6.                         if(b==1) {System.out.print("black beans, "); }
  7.                         if(b==2) {System.out.print("pinto beans, "); }
  8.                
  9.                         if(m==0) {System.out.print("no meat, "); }
  10.                         if(m==1) {System.out.print("chicken, "); }
  11.                         if(m==2) {System.out.print("steak, "); }
  12.                         if(m==3) {System.out.print("pork, "); }
  13.                         if(m==4) {System.out.print("barbacoa, "); }
  14.                         if(m==5) {System.out.print("sofritas, "); }
  15.                         if(m==6) {System.out.print("veggies, "); }
  16.                        
  17.                         if(t==0) {System.out.print("no topping, "); }
  18.                         if(t==1) {System.out.print("Fresh Tomato Salsa, "); }
  19.                         if(t==2) {System.out.print("Queso, "); }
  20.                         if(t==4) {System.out.print("Corn Salsa, "); }
  21.                         if(t==5) {System.out.print("Green Salsa, "); }
  22.                         if(t==6) {System.out.print("Hot Salsa, "); }
  23.                         if(t==8) {System.out.print("Veggies, "); }