I meant 'R' and 'r'.
I had 6 hours of sleep yesterday.
However, it will compile and, once it is changed to 'R' and 'r', should work.
I did compile and test this one.
Had a lot of things...
Type: Posts; User: javapenguin
I meant 'R' and 'r'.
I had 6 hours of sleep yesterday.
However, it will compile and, once it is changed to 'R' and 'r', should work.
I did compile and test this one.
Had a lot of things...
Here is the code, it appears to do what you want it to now:
import java.util.Scanner;
public class phonebill
{
public static void main(String[] args)
{
char customertype = 't'; // R - for...
Consider a while loop for the options thing
while (!options.equalsIgnoreCase("N"))
and put that around all the stuff you want done till they hit N.
Also, get rid of if and else if at the end...