Write a program that reads a line of text, changes each uppercase letter to the lowercase, and
places in a queue and onto a stack. The program should then verify whether the line of text is
No. You write a program that reads a line of text, changes each uppercase letter to the lowercase, and places in a queue and onto a stack. When you've done that, show us what you have got and what help you need.
Nobody is here to do your homework for you, sorry to disappoint...
You take some amount of time to work on this program. And then come up with the result of the program you have worked. Specify any errors or modification you need to correct. We'll try to work on that.
:-) We have all done that. Just remember, we are trying to help students to learn how to fish. Not just feed them a fish! Anyway, as per my comment, your intention was good, but the results may not help the student in the long term. I know I have had, in my career as a principal software engineer, to terminate "engineers" who had not learned this lesson. They did not help the organization, and in some cases absolutely caused serious problems with our customers. FWIW, a couple of these people had "earned" PhD's. I suspect that they did not do their own research and analysis to earn their degrees!
i know that this is your homework. Don't you think that at least once you should try it out yourself. Just write your code and if it not working post that code here, you will get solution. Don't merly depend other in doing your homework dear
public class GrossmontBank
//class variables (global - accessible throughout this class)
//scanner object to be used throughout
private static Scanner input = new Scanner(System.in);