write a program which asks the user how many days they will be working. then using your program calculate and print the amount of money they will earn if paid £1 for day 1, £3 for day 2, £9 for day 3 etc.....i have coded the inputing of name and work days i know there are if statements but how do i use them? thanks for your help. appreciated :)
......................................…
import java.util.*;
class Assignment3
public static void main(String[] args) {
String name;
String days;
Scanner scanner = new Scanner(System.in);
System.out.println("Please Enter Your Name");
name= scanner.nextInt();
System.out.println("How many days will you be working?");
days= scanner.nextInt();