Describe your scenario company. Based on the product and customer data explained in this document, provide at least 2 different types of data structures for the customers and the products.

You will select an organization for which you will complete each of the assigned tasks. The organization can be real or fictitious, but the work that you complete needs to apply to the scenarios that are provided. Your company is facing two new requirements for an existing application. The application manages customers and products, and […]

Write code to go in a main method to read in the user’s first and last name and then invoke the method above and print out the generated username.

Question 1: Username Method Write a complete method to generate a username that matches these requirements: ·         first initial of first name ·         first five characters or last name (or full last name, if less than 5 characters long) ·         a two-digit random number ·         all lower case Write code to go in a main […]

. Provide methods that calculate the rectangle’s perimeter and area. It has set and get methods for both length and width.

Ex 8.4  (Rectangle Class) Create a class Rectangle with attributes length and width, each of which defaults to 1. Provide methods that calculate the rectangle’s perimeter and area. It has set and get methods for both length and width. The set methods should verify that length and width are each floating-point numbers larger than 0.0 and less than 20.0. Write a program to […]

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp