Use printf or format to perform the following

  • Create appropriate variables as follows:
  1. amt = 1234.56789
  2. firstName
  3. lastName
  4. birthDay
  5. birthMonth
  6. birthYear
  • Assign your own name and birth info to the remaining variables
  • Display “The amount is $1,234,56”
  • Display your info in format “My name is Joe Blow and I was born on June 1, 1901’
  • Display your first and last names a dash and birth year 7 spaces apart as below:
    • Joe Blow – 1901

Looking for a Solution to this problem? Look no further! Raise a request for Do My Java Homework and get top-notch solutions.