Java Tutorial
- Runtime
- java 21.0.12
- Files
- 11 files · 4 KB
- Runs
- 39 runs
- Published
package sessionTwo;// Print a restaurant bill with a tab between item and price for 3 items, with a line of dashes above and below.public class Problem1 { public static void main(String[] args) { System.out.println("Masala Dosa\t\t120"); System.out.println("Pav Bhaji\t\t100"); System.out.println("----------------------"); System.out.println("Total\t\t220"); }}