Write a program called spam. java' to generate a personalised spam message based on the user's...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program called spam. java' to generate a personalised spam message based on the user's full name, country and a sum of money. Use the following template for the spam message, with a blank line before the message starts. Dearest It is with a heavy heart that I inform you of the death of my father, General Fayk , your long lost relative from Mapsfostol. My father left the sum of USD for us, your distant cousins. Unfortunately, we cannot access the money as it is in a bank in . I desperately need your assistance to access this money. I will even pay you generously, 30% of the amount USD, for your help. Please get in touch with me at this email address asap. Yours sincerely Frank Sample 10 Enter first name: Patrick Enter last name: Star Enter sum of money in USD: 1234 Enter country name: South Africa Dearest Patrick It is with a heavy heart that I inform you of the death of my father, General Fayk Star, your long lost relative from Mapsfostol. My father left the sum of 1234USD for us, your distant cousins. Unfortunately, we cannot access the money as it is in a bank in South Africa. I desperately need your assistance to access this money. I will even pay you generously, 30% of the amount 370.2USD, for your help. Please get in touch with me at this email address asap. Yours sincerely Frank Star Hint: Use "System.out.println" or "System.out.print with_" " at the end of your input string to move to the next line before input. Write a program called spam. java' to generate a personalised spam message based on the user's full name, country and a sum of money. Use the following template for the spam message, with a blank line before the message starts. Dearest It is with a heavy heart that I inform you of the death of my father, General Fayk , your long lost relative from Mapsfostol. My father left the sum of USD for us, your distant cousins. Unfortunately, we cannot access the money as it is in a bank in . I desperately need your assistance to access this money. I will even pay you generously, 30% of the amount USD, for your help. Please get in touch with me at this email address asap. Yours sincerely Frank Sample 10 Enter first name: Patrick Enter last name: Star Enter sum of money in USD: 1234 Enter country name: South Africa Dearest Patrick It is with a heavy heart that I inform you of the death of my father, General Fayk Star, your long lost relative from Mapsfostol. My father left the sum of 1234USD for us, your distant cousins. Unfortunately, we cannot access the money as it is in a bank in South Africa. I desperately need your assistance to access this money. I will even pay you generously, 30% of the amount 370.2USD, for your help. Please get in touch with me at this email address asap. Yours sincerely Frank Star Hint: Use "System.out.println" or "System.out.print with_" " at the end of your input string to move to the next line before input.
Expert Answer:
Related Book For
Principles of Marketing
ISBN: 978-0133084047
15th global edition
Authors: Philip T. Kotler, Gary Armstrong
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
Lets assume the client in the fact pattern in this weeks discussion board did not want to purchase the mothers house (in other words, forget about only those facts) and now has been appointed as the...
-
Discuss what, if any, political activity can be undertaken by a charitable NFP organization.
-
During the course of your examination of the financial statements of Trojan Corporation for the year ended December 31, 2024, you come across several items needing further consideration. Currently,...
-
Why you should record an abstract of judgment?
-
ABC, wholesale, customer profitability. Villeagas Wholesalers operates at capacity and sells furniture items to tour department-store chains (customers). Mr. Villeagas commented, We apply ABC to...
-
(1 point) Differentiate y = sin x 25 y' = D
-
Construct a new version of Table 4.7, assuming that the concatenator division grows at 20%, 12%, and 6%, instead of 12%, 9%, and 6%. You will get negative early free cash flows. a. Recalculate the PV...
-
How might you prioritize and develop your leadership style in a start-up culture? Embrace a humanistic leadership style after two years in business Be willing to prioritize your customers Work longer...
-
A cannonball launches at an initial velocity of 50 m/s at an angle of 40 toward a castle wall that is 220 m away and has a height of 30 m. Find the time. When the cannonball hits the wall. Please use...
-
Joe and Sarah Fabozzi are saving for the college education of their newborn daughter (born today), Beth. The Fabozzi's estimate that college expenses will run $30,000 per year when their daughter...
-
A European call and European put option on a stock both cost $5 with a common strike price $30 and a common time to maturity of one year. The current stock price is $30. The risk-free rate is 4% per...
-
TRANSLATE THIS PSEUDO CODE INTO JAVA. A high-level algorithm for the traceFile method is given below: Initialize stack to an empty stack of CodeBlocks. Open file using filename. while file has lines...
-
Bright Inc. will be receiving $5,300 at the end of every month for the next 3 years. If these payments were directly invested into a fund earning 6.50% compounded semi-annually, what would be the...
-
Solve the incompressible boundary layer equations for laminarflow over a flat plate, assuming that viscous dissipation isactive. The boundary layer equations are given below: Continuity equation:...
-
Find the market equilibrium point for the following demand and supply functions. Demand: 2p = - q + 56 Supply: 3p - q = 34
-
Find five examples of service-provider attempts to reduce service intangibility.
-
In a small group, develop an integrated marketing communications plan for a local business or nonprofit organization. Does your plan employ a push or pull promotion strategy? Explain.
-
1. Discuss the factors used to evaluate the usefulness of the military veteran segment. 2. Using the chain ratio method described in Appendix 2: Marketing by the Numbers, estimate the market...
-
Air is drawn from the atmosphere into a turbomachine. At the exit, conditions are \(500 \mathrm{kPa}\) gage and \(130^{\circ} \mathrm{C}\). The exit speed is \(100 \mathrm{~m} / \mathrm{s}\) and the...
-
At high speeds the compressor and turbine of the jet engine may be eliminated entirely. The result is called a ramjet (a subsonic configuration is shown). Here the incoming air is slowed and the...
-
A turbine is supplied with \(0.6 \mathrm{~m}^{3} / \mathrm{s}\) of water from a \(0.3 \mathrm{~m}\) diameter pipe; the discharge pipe has a \(0.4 \mathrm{~m}\) diameter. Determine the pressure drop...
Study smarter with the SolutionInn App