Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need a pseudocode for this assignment. You have been developing programs for C

ID: 657487 • Letter: I

Question

I need a pseudocode for this assignment.

You have been developing programs for Classic Reunions - a servie that manages the details of planning reunion parties. Assume that you will need the following classes: Name, School, Address, Date, ConactPerson, Employee, Party, and PartyAgreement

The Name class contains two fields and get and set methods for each field

- string firstName

-string lastName

The school class contains two fields and get and set methods for each field

- string SchooName

-Address schoolAddress

The Address class contains the following fields and get and set methods for each field

-string streetAddress

-string city

-string state

-string zipCode

The Date class contains the following fields and get and set methods for each field

-num month

-num day

-num year

The set method for the month field prohibits any value of less than 1 or more than 12. The set method for the day field prohibits any day that is out of range for the given month.

The ContactPerson class contains the following fields and get and set methods for each field

-Name name

-Address address

-string phoneNumber

The Employee class contains the following fields and get and set methods for each field

-string idNumber

-Name name

-Address address

-Date hireDate

-num hourlyPayRate

The Party class contains the following fields and get and set methods for each field

-string idNumber

-School school

-Date partyDate

-num numberOfGuests

-ContactPerson contactPerson

The PartyAgreement class contains the following fields and get and set methods for each field

-string partyAgreementNumber

-Party party

-Employee partyCoordinator

-Date agreementDate

-num contractPrice

A) Create a class diagram that could be used to describe data and methods needed for each of these classes

B) Write pseudocode for each class

C) Design an application program that declares a PartyAgreementobject, prompts the user for all necessary values, and displays them.

Explanation / Answer

a)

b-

Do While student_total < 30
Read student record
Print student name, schoolname,schooladdress
Add 1 to student_total
EndDo


c-

import java.io.*;

public class PartyAgreement

{
public static void main(String[] args) throws Exception

{
   String firstName;
    String lastName;
double schoolname;
   double schooladdress;
   BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

   firstName = args[0];
lastName = args[1];
schoolname = Double.parseDouble(args[2]);
   schooladdress = Double.parseDouble(args[3]);

   String fullName = lastName + ", " + firstName;

System.out.println("student name");
   System.out.printf("Full Name: %s ", fullName);
   System.out.printf("schoolname: %.2f ", schooladdress);
}
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote