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

I need you help with this problem Statement in Java. Please follow the problem s

ID: 3884370 • Letter: I

Question

I need you help with this problem Statement in Java. Please follow the problem step by step. Thank you

For this assignment, you will create a program that demonstrates the use of numbers, strings, and methods.

Numbers:

a) Create variables to store any 2 floating-point numbers.

b) Create variables to store any 2 integral numbers.

Strings:

a) Create String variables to store your first name and your last name. Calculate, store and print your full name

b) Create a String variable to store your nationality and print it to the console.

Methods:

a) Create a method that will add the numbers stored in the 2 floating-point variables above and display the result to the console.

b) Create a method that will multiply the numbers stored in the 2 integral variables above and display the result to the console.

Expectations

1.Your code should be properly named.

2. Your code should have proper documentation similar to the header below

3. A report on the work done.

Note: Full credit will not be given if expectations are not met.

Sample Header

/********************************************************************

* Given the length and width of a rectangle, this program computes

* and outputs the perimeter and area of the rectangle.

*

* Author: AJ Kim

* Date: August 22, 2017

* Assignment 1: Perimeter and Area of Rectangle

********************************************************************/

Explanation / Answer

/****************************************************************************
* Given the two float type numbers and two integer numbers,this program computes
* and outputs the product of integer type numbers and sum of float type No's
* And also gets the first and last name and concatinate and display the full name
* Author: AJ Kim
* Date: August 22, 2017
* Assignment 1: sum of two float type nos and product of two integer type nos
*****************************************************************************/
package org.students;

import java.util.Scanner;

public class AddMulNos {

public static void main(String[] args) {
// Declaring variables
float a, b;
int c, d;
String fname, lname, fullname, nationality;

/*
* Creating an Scanner class object which is used to get the inputs
* entered by the user
*/
Scanner sc = new Scanner(System.in);

// Getting the float type inputs entered by the user
System.out.println("Enter float type number#1 :");
a = sc.nextFloat();
System.out.println("Enter float type number#2 :");
b = sc.nextFloat();

// Getting the integer type inputs entered by the user
System.out.println("Enter integer type number#1 :");
c = sc.nextInt();
System.out.println("Enter integer type number#2 :");
d = sc.nextInt();

// Getting the firstname and lastname entered by the user
System.out.println("Enter firstname :");
fname = sc.next();
System.out.println("Enter lastname :");
lname = sc.next();

// Getting the nationlaity entered by the user
System.out.println("Enter Nationality :");
nationality = sc.next();

// calling the methods
addFloatNos(a, b);
multiplyIntNos(c, d);

fullname = fname + " " + lname;

System.out.println("FullName :" + fullname);
System.out.println("Nationality :" + nationality);

}

// This method will multiply the two integer numbers
private static void multiplyIntNos(int c, int d) {

System.out.println("The Product of " + c + " and " + d + " is :" + (c * d));

}

// This method will add the two float numbers
private static void addFloatNos(float a, float b) {
System.out.println("The Sum of " + a + " and " + b + " is :" + (a + b));

}

}

_______________________

Output:

Enter float type number#1 :
34.5
Enter float type number#2 :
56.6
Enter integer type number#1 :
12
Enter integer type number#2 :
23
Enter firstname :
Ricky
Enter lastname :
Pointing
Enter Nationality :
Australian
The Sum of 34.5 and 56.6 is :91.1
The Product of 12 and 23 is :276
FullName :Ricky Pointing
Nationality :Australian

_____________Could you rate me well.Plz .Thank You