Write a method that will have a C++ string passed to it. The string will be an email address and the method will return a bool to indicate that the email address is valid.
Email Validation Rules: ( These rules are not official.)
1) No whitespace allowed
2) 1 and only 1 @ symbol
3) 1 and only 1 period allowed after the @ symbol. Periods can exist before the @ sign.
4) 3 and only 3 characters after the period is required.
*****************************
Program will prompt for an email address and report if it is valid or not according to the rules posted above. The program will loop and prompt me to continue.
*****************************
In: Computer Science
7. In 2019, Taxpayer (“T”) is a single, 65 year-old individual who is a U.S. citizen. T turned 65 in 2019. T receives $18,000 of social security income in 2019 (the first year T received Social Security Benefits). Also, T received $6,000 of interest income from a municipal bond in both 2018 and 2019. On June 1, 2018, T took a job with a multi-national corporation which paid T $5,000 per month. As a condition of the job, T is required to work overseas, in the country of Austria, and T did in fact work in Austria for 214 days (From June 1 – December 31) in 2018. T is offered to continue to work (still in Austria and still for $5,000 per month) for seven additional months (from January 1 until the end of July, which is 211 days) in 2019, at which point T’s position would terminate. T is trying to decide whether T wants to continue to work for seven months in 2019 or quit on January 1. (These are T’s only transactions during 2018 and 2019).
a. What is T’s Gross Income in 2019 if T continues to work through July of 2019? __________________________________
b. What is T’s Gross Income in 2019 if T does NOT continue to work in 2019? __________________________________
c. Excluding the effects of the payroll tax and any credits, What is the economic benefit to T of continuing to work for 7 months in 2019 (meaning how much total extra money, after-tax, will T have as a result of continuing to work in 2019)? _____________________
In: Finance
There is a single-plank bridge. Only one person can cross the
bridge without any stop. The pedestrian can cross the bridge from
west to east or from east to west. If there is more than 0
pedestrian crossing the bridge from west to east, no pedestrian can
try to cross the bridge from east to west, but more than 1
pedestrian can cross the bridge from west to east, and vice versa.
The pedestrian can cross the bridge immediately if there is no
pedestrian on the bridge. Use Semaphore to solve this
problem.
In: Computer Science
An electron of kinetic energy 1.69 keV circles in a plane perpendicular to a uniform magnetic field. The orbit radius is 20.1 cm. Find (a) the electron's speed, (b) the magnetic field magnitude, (c) the circling frequency, and (d) the period of the motion.
In: Physics
Problem 8-19 Cash Budget; Income Statement; Balance Sheet [LO8-2, LO8-4, LO8-8, LO8-9, LO8-10]
Minden Company is a wholesale distributor of premium European chocolates. The company’s balance sheet as of April 30 is given below:
| Minden Company Balance Sheet April 30 |
||
| Assets | ||
| Cash | $ | 9,000 |
| Accounts receivable | 54,000 | |
| Inventory | 30,000 | |
| Buildings and equipment, net of depreciation | 207,000 | |
| Total assets | $ | 300,000 |
| Liabilities and Stockholders’ Equity | ||
| Accounts payable | $ | 63,000 |
| Note payable | 14,500 | |
| Common stock | 180,000 | |
| Retained earnings | 42,500 | |
| Total liabilities and stockholders’ equity | $ | 300,000 |
The company is in the process of preparing a budget for May and has assembled the following data:
Sales are budgeted at $200,000 for May. Of these sales, $60,000 will be for cash; the remainder will be credit sales. One-half of a month’s credit sales are collected in the month the sales are made, and the remainder is collected in the following month. All of the April 30 accounts receivable will be collected in May.
Purchases of inventory are expected to total $120,000 during May. These purchases will all be on account. Forty percent of all purchases are paid for in the month of purchase; the remainder are paid in the following month. All of the April 30 accounts payable to suppliers will be paid during May.
The May 31 inventory balance is budgeted at $40,000.
Selling and administrative expenses for May are budgeted at $72,000, exclusive of depreciation. These expenses will be paid in cash. Depreciation is budgeted at $2,000 for the month.
The note payable on the April 30 balance sheet will be paid during May, with $100 in interest. (All of the interest relates to May.)
New refrigerating equipment costing $6,500 will be purchased for cash during May.
During May, the company will borrow $20,000 from its bank by giving a new note payable to the bank for that amount. The new note will be due in one year.
Required:
1. Calculate the expected cash collections from customers for May.
2. Calculate the expected cash disbursements for merchandise purchases for May.
3. Prepare a cash budget for May.
4. Prepare a budgeted income statement for May.
5. Prepare a budgeted balance sheet as of May 31.
In: Accounting
In: Operations Management
discuss the importance of a Competitive Strategy and provide an example of a Competitive Strategy that a company uses
minimum 300 words
In: Operations Management
Your sister will start college in five years. She just informed your parents that she wants to go to Georgia Southern University. It will cost $20,000 per year for four years (cost assumed to come at the beginning of each year). Anticipating her ambitions, your parents have saved already $15,000 and will continue to invest at the end of each month for the next five years. How much more will your parents have to invest each month for the next 5 years to have the necessary funds for your sister’s college education? Assume the interest rate is 10% annual compounding.
In: Finance
Please answer all parts of the question, with all work shown
Suppose there are 300 cards in a box numbered 1 through 300. Therefore, the number of each card has one, two, or three digits. A card is drawn at random from the box. Suppose that the number on the card has X digits of which Y are 0. Suppose we would like to know whether X and Y are correlated, negatively correlated, or uncorrelated. Determine Cov(X,Y)Cov(X,Y) and ρ(X,Y)ρ(X,Y), hence settling the question.
In: Math
A priority queue can be implemented as a heap because
a. The root can be easily be identified as the topmost priority.
b. The heap is not always sorted so any value can be the top priority.
c. The heap always has a left bottom node that can be the top priority.
d. None of the above.
In: Computer Science
1. The idea of “broadening” our treatment of job performance involves both our definition of performance and our perception of what may affect job performance. Please illustrate how the idea of “broadening:”
a. Informs how and why we should define performance.
b. Informs how a manager should try to diagnose a performance problem.
In: Operations Management
LP2 Assignment: Social Support and Student Success This assignment will assess competency 2. Evaluate how Support can have a powerful effect on student performance, retention, and persistence. Directions: Write a 1500 word research paper titled The Importance of Social Support and Student Success. Provide your analysis of this topic. In addition to your analysis, please include an answer to the following questions: Prioritize the importance of Academic Support & Support Programs during the critical first year of college. Assess the impact of Self-Efficacy and Student Success on retention. Can universities help students improve their self-efficacy? Evaluate the research evidence surrounding Financial Support and student retention. You must provide a separate/different reference in your answer to each question. One reference must be from the Survey of Best Practices in Student Retention 2015 Edition.
In: Psychology
On February 1, 2020 Britney contacts Fancy Weddings, Inc. about being the event management company to coordinate her wedding in June 2020. They discuss what Britney is interested in for the wedding and agree to perform all the wedding services at a cost of $10,000. Fancy sends a written contract to Britney outlining everything both parties had agreed to and Britney calls Fancy back and advises she received the letter and is an accurate description of their agreement, but Britney never signs the contract. On March 1, 2020 Britney calls back Fancy and tells them the deal is off because she thinks she can do a better job by herself. Fancy sues Britney and Britney argues a lack of consideration as a defense.
A. Will this defense be successful? Please explain.
B. Under the same facts as above Britney argues that the contract is not binding because of the Statute of Frauds. Will this defense be successful? Please explain.
In: Operations Management
Use JAVAfor this program
Program Description
You work in a local gift shop that is currently running a large sale. You have been asked to create a program to calculate the total of a user’s purchases and determine if they qualify for a discount. Use the following steps to create the program:
Subtotal = Price * Quantity
|
Subtotal |
Discount |
|
Under $25 |
5% discount |
|
$25 but not more than $75. |
10% discount |
|
Over $75 |
15% discount |
Discount Amount = Subtotal * (Discount/100)
Discounted Cost = Subtotal - Discount Amount
Sample Input and Output (formatting, spacing, and indentation should be as shown below)
What is the price of the item you wish to purchase?
17.99
What is the quantity you wish to purchase? 3
What is the name of the item? T-Shirt
Discount Calculation Utility
Item
Name:
T-Shirt
Price: $17.99
Quantity:
3
Subtotal: $53.97
Discount: $5.40
Discounted Cost: $48.57
In: Computer Science
How does Psychology and Psychological Research go hand in hand?
In: Psychology