import java.util.Scanner; import java.util.Formatter; public class Assingment3 { public static void main(String[] args) { Scanner in = new Scanner(System.in); final double basic = 0.025; final double premium = 3.5; final double platinum = 4.5; System.out.println("Welcome to CSE110 Bank:"); System.out.println("What is your name?:"); String name = in.next(); System.out.println("Initial deposit into savings:"); double savings=in.nextDouble(); System.out.println("Initial deposit into checkings:"); double checking=in.nextDouble(); double total = savings+checking; System.out.println("Bank options:"); int choice1 = in.nextInt(); if (choice1 ==1) { } else if (choice1==2) { } else if (choice1 ==3) { } else if (choice1 == 4) { } System.out.println("your choice: "+choice1); System.out.println(name+"'s "+"account balance: "+total+"(S:"+savings+"C:"+checking+")" ); int choice2 = 4; switch(choice2) { case 1: case 2: case 3: case 4: } } }
int choice2 = 4;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)