Android-Programm / " calculator app" / "android studio" Please read the question carefully, I am posting it for the thir

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Android-Programm / " calculator app" / "android studio" Please read the question carefully, I am posting it for the thir

Post by answerhappygod »

Android-Programm / " calculator app"
/ "android studio"
Please read the question carefully, I am posting it for
the third time, but I am getting the wrong answer.
THE TASK:
Topics: Activity, Views & Viewgroups, Event Handling
part 1:
A calculator app is to be created with which simple calculations
can be made
can be carried out.
• The app should at least do basic arithmetic addition,
subtraction,
Support multiplication and division.
• It should also be possible to use more than two operands and more
than one
enter operator, as well as that
• Result of the calculation as an operand for the next
calculation
use.
• The app should use both the infix notation (3 +4 = 7) and
the
Support reverse Polish notation ( 3 4 + = 7).
• Errors (3 / 0) should lead to an "ERROR" message in the
display.
For the development of the app, the view and View Group elements
are used.
A notice: The focus of this exercise is not on the evaluation of
mathematical expressions,
but on the development of a functional interface. For this
reason
can use an external library for evaluating and calculating the
expressions.
Part 2:
The calculator app (part 1) is to be expanded. The additional
arithmetic operations sine, cosine, tangent and square root should
be selectable in a submenu via a menu with the entry "Other".
The keypad is to be extended by the keys [C] (deletes all entries)
and [CE] (deletes the last entry).
In addition, the app is to be optimized for two different layouts,
on the one hand for a smartphone (default layout) and on the other
hand for a tablet (approx. 7" - 10").
It must be ensured that there is more space available on the tablet
than on a smartphone, so that the above-mentioned additional
arithmetic operations in the tablet version do not have to be made
available via a menu, but can be displayed directly.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply