Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

You have been cordially invited to partake in Operation: Operation. Your mission, should you choose to accept it, is to take the two numbers and the operator given then perform the operation successfully.



Instructions:

  1. Input one number (integer or decimal), an operator (+, -, *, /), and another number (integer or decimal), all in one line.
  2. Print the result of the operation between the two numbers, up to 2 decimal places.


Input

A line containing a number, operator, and another number separated by a space.

5·+·0.70

Output

A line containing a decimal/float containing two decimal places.

5.70




Draw a UML class diagram

Design the class Doctor, inherited from the class Person, with an additional data member to store a doctor’s specialty. Add appropriate constructors and methods to initialize, access, and manipulate the data members.


 Design the class Bill with data members to store a patient’s ID and the patient’s hospital charges such as pharmacy charges for medicine, the doctor’s fee, and the room charges. Add appropriate constructors and methods to initialize, access, and manipulate the data members.


Design class Patient, inherited from the class Person, with additional data members to store a patient’s ID, age, date of birth, attendingphysician’s name, the datewhenthepatientwas admittedin the hospital, and the date when the patient was discharged from the hospital. (Use the class Date to store the date of birth, admit date, discharge date, and the class Doctor to store the attending physician’s name.) Add appropriate constructorsandmethodsto initialize, access,andmanipulate the data members



Create a class to store details of student like rollno,name,and course joined and fee paid so far.Assume courses are c# and ASP.NET with course fees being 2000 and 3000. Provide the constructor to take rollno,name,and course.


Provide the following methods:

1. Payment (amount)

2. Print ()

3.DueAmount property

4. Total fee property


According to the National Heart, Lung, and Blood Institute of the National Institutes of Health, body mass index (BMI) is a measure of body fat based on height and weight that applies to adult men and women. It is used to monitor one's health by determining whether one is underweight, overweight, has normal weight or is obese. It is computed based as follows (when using standard weight in pounds and height in inches):





BMI = 703 x (weight/(height2))





Note: For this problem, you need to format the output to print the appropriate number of decimal places. You need to use System.out.format (Read: https://docs.oracle.com/javase/tutorial/java/data/numberformat.html)

We Filipinos are quite known for the habit of leaving at least one of the many pieces of food on the plate as it can't be equally divided among all at most times. Just like when 3 people decide to eat a pizza of 10 slices, there will often be at least one slice left on the box. To accurately show just how many pieces of things are left when divided by a certain number, we code it using modulo.



Care to do it for me

The first file contains the answers for the 20 questions and is called Answer.txt. The format of this file is TFTTTTTTFFTFTFTTTTFF.

Each character is a solution for the exam. The first character being the solution for question #1 and the last character the solution for question #20 respectively. 

Create a MainMenu form. On this form implement the following functionality: a) Put a button titled Open Answers File. When this button is clicked; open Answer.txt, and read and store the answers in an array of Strings. Close this file


Create a windows application that contains two TextBox objects and two Button objects. One of the TextBox objects and one of the buttons are initially invisible. The first textbox should be used to input a password. The textbox should be masked to some character of your choice so that the characters entered by the user are not seen on the screen. When the user clicks the first button, the second TextBox object and button object should be displayed with a prompt asking the user to reenter his or her password. Now the user clicks the second button, have the application compare the values entered to make sure they are the same. Display an appropriate message indicating whether they are the same.




  1. Input five integers in one line, with each integer separated by a space.
  2. Add the 1st and 2nd integers together and store the sum inside a variable.
  3. Add the 3rd and 4th integers together and store the sum inside a variable.
  4. Multiply the two sums and raise the product result to the power of the 5th integer.
  5. Print out the result.

Input three decimal numbers in one line separated by spaces, and make sure to store them in different variables.



Multiply the 1st and 2nd decimal numbers, and store the product into a variable.



Then, divide the product of the 1st and 2nd decimal numbers with the 3rd decimal number, then print out its quotient, with 2 decimal places.



Q.2.1 On the form create two combo boxes, one for the country selection and another to select a town. Also, add two radio buttons for the user to select to display either a phone or postal code.

Q.2.2 You are also required to create a “submit” and “exit” button. The layout of the form is left to your discretion. Marks will be allocated to the presentation and effectiveness of the layout, but the following layout is displayed for your convenience. 16; 17; 18 2018 ©

Q.2.3 The application must allow a user to select between two countries, namely South Africa and the United Kingdom. When a particular country is selected, present the available towns in the town combo box.

SOUTH AFRICA UNITED KINGDOM Cape Town Phone Code: 021 Postal Code: 8000 London Phone Code: 020 Postal Code: WC2N5DU Johannesburg Phone Code: 011 Postal Code: 2000 Oxford Phone Code: 01865 Postal Code: OX13PN Durban Phone Code: 031 Postal Code: 4000 Southampton Phone Code: 023 Postal Code: SO147DW



LATEST TUTORIALS
APPROVED BY CLIENTS