Win a copy of Production-Ready Serverless (Operational Best Practices) this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Assignment help?  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new here, I have registered with you guys for a little guidance since my school decided to put me in a class that I have no clue what's going on. I have an assignment due at midnight and I don't even know where to start. I have tried to drop the class and they won't let me and I'm afraid I'm stuck for another 10 weeks. It goes as follows. Any help would be appreciated.

1. Write a program that asks the user to enter a String and perform a series of Character, Math and String functions on this input String.  Use “printf” to print all your output.

2. Create a zip file that contains your Java programs.  Include a screenshot of each program execution.  You can either paste the screenshot into a Word document or simply paste it into the Comments field when submitting your homework.

Attached is a screenshot that the professor provided.
[Thumbnail for download.png]
Posts: 63781
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I suggest you need to divide that task into subtasks. Start by getting that text from the keyboard. For a simple thing like that I would probably use an instance of this. Do that, show us that it is working, and then ask again, but I shall be asleep by then and doubtless somebody else will help you.
Posts: 13353
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, read through the String class API documentation:

You'll find all the methods you need to call to do the things your instructor's output screenshot shows.

Good luck.
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
global solutions you can do in your home or backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!