Create the logic for a program that accepts a users birth month and year and passes them
Question:
Create the logic for a program that accepts a user’s birth month and year and passes them to a method that calculates the user’s age in the current month and returns the value to the main program to be displayed.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 55% (9 reviews)
Flowchart Pseudocode start Declarations num month num year num age output Ente...View the full answer
Answered By
JAPHETH KOGEI
Hi there. I'm here to assist you to score the highest marks on your assignments and homework. My areas of specialisation are:
Auditing, Financial Accounting, Macroeconomics, Monetary-economics, Business-administration, Advanced-accounting, Corporate Finance, Professional-accounting-ethics, Corporate governance, Financial-risk-analysis, Financial-budgeting, Corporate-social-responsibility, Statistics, Business management, logic, Critical thinking,
So, I look forward to helping you solve your academic problem.
I enjoy teaching and tutoring university and high school students. During my free time, I also read books on motivation, leadership, comedy, emotional intelligence, critical thinking, nature, human nature, innovation, persuasion, performance, negotiations, goals, power, time management, wealth, debates, sales, and finance. Additionally, I am a panellist on an FM radio program on Sunday mornings where we discuss current affairs.
I travel three times a year either to the USA, Europe and around Africa.
As a university student in the USA, I enjoyed interacting with people from different cultures and ethnic groups. Together with friends, we travelled widely in the USA and in Europe (UK, France, Denmark, Germany, Turkey, etc).
So, I look forward to tutoring you. I believe that it will be exciting to meet them.
3.00+
2+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Create the logic for a program that prompts a user for 12 numbers and stores them in an array. Pass the array to a method that reverses the order of the numbers. Display the reversed numbers in the...
-
Create the logic for a program that prompts a user for 20 numbers and stores them in an array. Pass the array to a method that calculates the arithmetic average of the numbers and returns the value...
-
Create the logic for a program that calls a method that computes and returns a homeowners profit from the homes sale. Arguments passed to the method include the sale price and the following which...
-
The management accountant is preparing the master budget for her retail firm. The following information has been supplied Sales $300,000 Opening inventory $40,000 Closing inventory $60,000 Required...
-
For Problem, find x to four decimal places. (A) log x = 2.0832 (B) log x = -1.1577 (C) ln x = 3.1336 (D) In x= -4.3281
-
You are going to save $243 at the end of each of the next 7 years in a bank account with a 10% interest rate. If you leave the money in the bank, how much will you have 3 years after the date of the...
-
Prove that for a European Call option on an asset that pays no dividends the following relations hold: \[C \leq S, \quad C \geq S-E \exp (-r(T-t))\]
-
1. How would you improve and/or change the following form and its contents? 2. Since there are only six employees in the company, how would you adapt the form to meet the needs of this small...
-
Output: Write a program that asks the user for the number of columns in a square matrix (2-d array with the same number of rows and columns). Randomly fill the matrix with int values between 1 and...
-
Ronelda has accumulated $33,173.03 in her RRSP. If she makes no further contributions and her RRSP continues to earn 9.75% compounded monthly, for how long a period of deferral must she wait before...
-
a. Create the logic for a program that calculates and displays the amount of money you would have if you invested $5000 at 2 percent simple interest for one year. Create a separate method to do the...
-
a. Create the logic for a program that performs arithmetic functions. Design the program to contain two numeric variables, and prompt the user for values for the variables. Pass both variables to...
-
"Inflation (either high or low) reduces the entire nation's standard of living." Comment on the validity of this statement.
-
A rectangular plate of density \(\sigma=1.2510^{2} \mathrm{~kg} \mathrm{~m}^{-2}\) is arranged with the longer side \(\ell=75\) \(\mathrm{cm}\) along the \(x\) axis of a Cartesian reference frame,...
-
A cylinder of mass \(M=2.0 \mathrm{~kg}\) and radius \(R=10 \mathrm{~cm}\) is resting on a horizontal plane, and its center \(\mathrm{O}\) is connected to a point \(\mathrm{P}\) on the plane by a...
-
A disk of mass \(M=470 \mathrm{~g}\) and radius \(R=15 \mathrm{~cm}\) rolls without crawling on a horizontal plane. A point mass \(m=240 \mathrm{~g}\) impacts on it and remains attached, Fig. 12.13....
-
As shown in Fig.12.14, an object that can be considered point-like with mass \(m=0.50 \mathrm{~kg}\) is resting on a rough horizontal surface with dynamic friction coefficient \(\mu=0.30\). At the...
-
A homogeneous sheet of mass \(M=8.0 \mathrm{~kg}\), side \(D=50 \mathrm{~cm}\) and negligible thickness can rotate without friction about the horizontal axis passing through point \(A\) and...
-
Show that the acceleration of any object down a frictionless incline that makes an angle with the horizontal is a = g sin . 5.00
-
By referring to Figure 13.18, determine the mass of each of the following salts required to form a saturated solution in 250 g of water at 30 oC: (a) KClO3, (b) Pb(NO3)2, (c) Ce2(SO4)3.
-
The greater-than operator evaluates as true when ______________. a. The right operand is greater than the left operand b. The left operand is greater than the right operand c. The right operand is...
-
A trivial Boolean expression is one that ______________. a. Is uses only two operands b. Always has the same value c. Is always true d. Is always false
-
In an AND condition, the most efficient technique is to first ask the question that ______________. a. Is most likely to be true b. Is least likely to be true c. That contains the most operands d....
-
3. a. b. Solve the system by inverting the coefficient matrix and using Theorem 1.6.2 of the textbook. -x-2y-32 = 0 w+x+4y+4z = 7 w+3x+7y+9z = 4 -w-2x-4y - 6z = 6 Determine conditions on the b's, if...
-
1. If 5,000 earns Php86.00 interest in 15 months, how much is the rate of interest? 2. If the interest rate is 7.5% per year and the principal is Php2,500, determine the amount of interest for 20...
-
Given no change to the 0.8 percent chance that any women have breast cancer, and given that positive mammogram effectiveness is increased from 90% , and given that the false positive rate is...
Study smarter with the SolutionInn App