Write a program that asks the user to enter an integer. The program should display Positive if
Question:
Write a program that asks the user to enter an integer. The program should display “Positive” if the number is greater than 0, “Negative” if the number is less than 0, and “Zero” if the number is equal to 0. The program should then display “Even” if the number is even, and “Odd” if the number is odd.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 75% (4 reviews)
Prompt the user to enter an integer number intinputEnter an integer Determin...View the full answer
Answered By
Asim farooq
I have done MS finance and expertise in the field of Accounting, finance, cost accounting, security analysis and portfolio management and management, MS office is at my fingertips, I want my client to take advantage of my practical knowledge. I have been mentoring my client on a freelancer website from last two years, Currently I am working in Telecom company as a financial analyst and before that working as an accountant with Pepsi for one year. I also join a nonprofit organization as a finance assistant to my job duties are making payment to client after tax calculation, I have started my professional career from teaching I was teaching to a master's level student for two years in the evening.
My Expert Service
Financial accounting, Financial management, Cost accounting, Human resource management, Business communication and report writing. Financial accounting : • Journal entries • Financial statements including balance sheet, Profit & Loss account, Cash flow statement • Adjustment entries • Ratio analysis • Accounting concepts • Single entry accounting • Double entry accounting • Bills of exchange • Bank reconciliation statements Cost accounting : • Budgeting • Job order costing • Process costing • Cost of goods sold Financial management : • Capital budgeting • Net Present Value (NPV) • Internal Rate of Return (IRR) • Payback period • Discounted cash flows • Financial analysis • Capital assets pricing model • Simple interest, Compound interest & annuities
4.40+
65+ Reviews
86+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Ivanhoe Company incurred research and development costs of $ 9 0 0 0 0 to develop a patent, and legal fees of $ 3 0 0 0 0 to register the patent. The patent has a legal life of 2 0 years and a useful...
-
The following are trial balance of Clarissa Amanda Sdn. Bhd. as at 31st December 2021. Debit RM Credit RM Opening stock, 1 Jan 2021 16,000 Purchases 75,000 Sales return 5,000 Carriage inwards 1,500...
-
April Moon set a record in flight shooting. In 1981 in Utah, she sent an arrow a horizontal distance of 950 m. What was the speed of the arrow at the top of the flight if the arrow was launched at an...
-
Identify each of the following items relating to sections of a balance sheet as Current Assets (CA), Property and Equipment (PE), Current Liabilities (CL), Long-Term Liabilities (LTL), or Owners...
-
Quality Suppliers, Inc., has decided to extend its shipping option. Now, Quality Suppliers is offering to ship the amount ordered in five equal shipments, one each week. It will take five weeks for...
-
A proton with an initial speed of 800,000 m/s is brought to rest by an electric field. a. Did the proton move into a region of higher potential or lower potential? b. What was the potential...
-
Tourism Use a time series chart to display the data shown in the table. The data represent the percentages of Egypts gross domestic product (GDP) that come from the travel and tourism sector....
-
Journal entries for the allowance method. The following data relate to sales made on account by Schneider Corporation for the years ended October 31, 2006, 2007, and 2008: Schneider Corporation...
-
As a synthesis, think and explain the following condition: 1. A crystal salt consists of negative and positive ions. How does the net charge of the negative ions compare with that of the positive...
-
What is a control structure?
-
Write an if statement that assigns 20 to the variable y, and assigns 40 to the variable z if the variable x is greater than 100.
-
During the late nineteenth century in the United States, many farmers borrowed heavily to buy land. During most of the period between 1870 and the mid-1890s, the United States experienced mild...
-
Why and how will you monitor and adjust the implementation?
-
What steps are taken to derive the organization structure?
-
What are the key steps in relation to benefits when handing the project over to the business?
-
How can Innovate workshops be structured?
-
What is a benefit delivery matrix and how does it assist in the benefits realization?
-
Presented below are the components in Veasy Company's income statement. Determine the missing amounts. Sales Revenue (a) 75,000 (b) $108,000 Cost of Goods Sold Gross Profit $28,000 Operating Expenses...
-
Distinguish between the work performed by public accountants and the work performed by accountants in commerce and industry and in not-for-profit organisations.
-
Why does the following pseudocode not perform as indicated in the comments? // This program asks the user to enter a value // between 1 and 10 and validates the input. Declare Integer value // Get a...
-
This type of error occurs when you try to assign a value of one data type to a variable of another data type. a. Type mismatch error b. Boolean logic error c. Relational error d. Bit conversion error
-
This is an example of a data type conversion function in pseudocode. a. Sqrt b. ToReal c. Substring d. IsNumeric
-
1. Suppose a monopolist Fp in the burgers market produces patties (p) at zero cost and the demand for patties is given by: = Qp-1-Pp-P where Qp is the quantity of patties demanded, P is the price of...
-
A stock analyst wants to determine whether there is a difference in the mean rate of return for three types of stock: utility, retail, and banking stocks. The following output is obtained: Analysis...
-
As a project manager, you complete a stakeholder analysis and make a list of all the stakeholders. What is often the next step?
Study smarter with the SolutionInn App