C1S247 Lab 1 in Java – Guaranteed 100% score

Lab Price = $8
Please feel free to send us your queries at: [email protected]
Payment Methods

Add to Cart

Buy Now

View Cart


Problem Statement

CIS247 Week 1 Lab, Design
Program Description: Basic User Interface
This program creates the basic user interface code that can be used in the following week’s iLab assignments. The assignment will help you get started using the programming environment and some practice with coding. You will also be able to re-use much, if not all, of the code in later assignments.
In this program, you will create the following methods:
1. displayApplicationInformation, which will provide the program user some basic information about the program.

2. displayDivider, which will provide a meaningful output separator between different sections of the program output.

3. getInput, which is a generalized function that will prompt the user for a specific type of information, then return the string representation of the user input.

4. terminateApplication, which provides a program termination message and then terminates the application.

Using these methods, you will construct a program that prompts the user for the following:
1. Their name, which will be a string data type
2. Their age, which will be an integer data type
3. The gas mileage for their car, which will be a double data type
4. Display the collected information
Also, note that the program should contain a well documented program header.
Pseudocode
//Program Header
//Program Name: Basic User Interface
//Programmer: Your Name
//CIS247, Week 1 Lab
//Program Description: PROVIDE A DESCRIPTION OF THE PROGRAM
Start main
//declare variables
input as string
name as string
age as integer
mileage as double
calldisplayApplicationInformation
calldisplayDivider(“Start Program”)
calldisplayDivider(“Get Name”)
set name = getInput(“Your Name”)
display “Your name is: “ + name
calldisplayDivider(“Get Age”)
set input = getInput(“Your Age”)
set age = convert input to integer
display “Your age is: “ + age
calldisplayDivider(“Get Mileage”)
set input = getInput(“Gas Mileage”)
set mileage = convert input to double
display “Your car MPG is: “ + mileage
callterminateApplication
end main program
proceduredisplayApplicationInformation
display “Welcome the Basic User Interface Program”
display “CIS247, Week 1 Lab”
display “Name: YOUR NAME”
display “This program accepts user input as a string, then makes the appropriate data conversion and displays the results”
end procedure
proceduredisplayDivider(string outputTitle)
display “**************** “ + outputTitle + “****************”
end procedure
functiongetInput(string inputType) as string
strInput as string
display “Enter the “ + inputType
getstrInput
returnstrInput
end function
procedureterminateApplication
display “Thank you for using the Basic User Interface program”
exit application
end procedure

Relevant Material
Screenshots
CIS247 Lab1 Ouput
CIS247 Lab1 Ouput
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Payment Details

 

Lab Price = $8
Please feel free to send us your queries at: [email protected]
Payment Methods

Add to Cart

Buy Now

View Cart

Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on [email protected]
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.


Leave a Reply