PART 1
Create a program that allows a student to complete a registration form and displays a completion message that includes the user's full name and a temporary password.
PART 2
Create a program that calculates a user's weekly gross and take-home pay.
DELIVERABLES
The code in image:
2nd question:
The code in the text:
print("Enter your first name:",end=" ")
#taking name
f_name=input()
print("Enter your last name:",end=" ")
l_name=input()
print("Enter your date of Birth: ",end="
") #taking date of
birth
dob=input()
print("Enter your Phone number: ",end="
") #taking phone
number
contact=int(input())
print("Enter your Address: ",end="
")
#taking address
Address=input()
print("Enter password: ",end="
")
#taking password
password=input()
while(len(password)<8):
#checking password
print("password length must be greater than 8 or equal
to 8")
print("Enter password: ",end=" ")
password=input()
print("Conform password: ",end="
") #confirm password
cpassword=input()
while(password!=cpassword):
print("confirm password must match password")
print("Conform password: ",end=" ")
cpassword=input()
name=f_name+" "+l_name
print("registration completed\n",name,"\n",password)
2nd question:
print("Weekly Gross")
print("Enter monthly income:
$",end="") #taking income
income=int(input())
print("enter your weekly expenditures (-1 to exit)")
#taking expenditures
expenditures=[]
op=int(input())
while(op!=-1):
#-1 to exit
expenditures.append(op)
op=int(input())
total=sum(expenditures)
print("Weekly gross=$",total,sep="")
weeks=0.0
weeks=(30/7)
#calculating monthly gross
total_monthly=weeks*total
remaining=income-total_monthly
#calculating remaining money
print("home pay=$",round(remaining,2),sep="")
output:
2nd question:
PART 1 Create a program that allows a student to complete a registration form and displays...
Create a program that allows a student to complete a registration form and displays a completion message that includes the user’s full name and a temporary password. Console Registration Form First name: Bjarne Last name: Stroustrup Birth year: 1950 Welcome Bjarne! Your registration is complete. Name: Bjarne Stroustrup Temporary password: Bjarne*1950 Specifications • The user’s full name consists of the user’s first name, a space, and the user’s last name. • The temporary password consists of the user’s first name,...
In Java please Create a GUI application that accepts student registration data. The GUI with valid data Shudent Fagtrtion x Rt Name Haold Moore Lst Name Yar of Brth 2001 Temporary PesowordHal200 Wlcome Harald Moore! RegsterEt The GUI with invalid data Shudent Fegtrtion DX Fect Name Haold Last Name ar of Brth 2001 Tempoay Pawod Haold 200 Pesse eer St and lact name and ye of bith Regster Et Specifications Use FXML to create the GUI The text box that...
PYTHON Programming Exercise 2: Create a Simple Cost Calculator Write a program that displays input fields (item name and cost) and calculates and displays the calculated costs. The program should do the following: Provide data entry areas for item name and cost. Calculate and display the subtotal of all items. Adds a sales tax of 6% and calculate and displays the total cost. Enter the following values into your program. Mother Board $200. RAM $75. Hard Drive $72. Video Graphics...
I need help with my homework assignment Linux systems keep user account information in the passwd file and the encrypted password in the shadow file. The passwd file containing account information might look like this: smithj:x:1001:1001:John Smith:/home/smithj:/bin/bash The shadow file containing password and account expiration information for users might look like this: smithj:KJDKKkkLLjjwlnttqoiybnm.:10063:0:99999:7::: The fields in the shadow file are separated by a colon, with the first field being the username and the second being the password. Under normal circumstances,...
Task #1 Create a program that: 1. Has a comment in the JavaScript code with your name and student number 2. Asks the user for their first name with a pop-up prompt screen. Explorer User Prompt Script Prompt: ок Enter your first name: Cancel Joel 3. Asks the user for their last name with a pop-up prompt screen. Explorer User Prompt X Saript Prompt: ок Enter your last name: Cancel Smith 4. Performs string concatenation to combine their first and...
unctions with No Parameters Summary In this lab, you complete a partially prewritten Python program that includes a function with no parameters. The program asks the user if they have preregistered for art show tickets. If the user has preregistered, the program should call a function named discount() that displays the message "You are preregistered and qualify for a 5% discount." If the user has not preregistered, the program should call a function named noDiscount() that displays the message "Sorry,...
Need help debugging Create a GUI application that accepts student registration data. Specifications: The text box that displays the temporary password should be read-only. The temporary password consists of the user’s first name, an asterisk (*), and the user’s birth year. If the user enters data in the first three fields, display a temporary password in the appropriate text field and a welcome message in the label below the text fields. If the user does not enter data, clear the...
I need some help with programming this assignment. Programming Assignment 6: A Python Class, Attributes, Methods, and Objects Obiectives .Be able to write a Python class Be able to define class attributes Be able to define class methods .Be able to process input from a text file .Be able to write an application using objects The goal of this programming assignment is to develop a simple image processing application. The application will import a class that creates image objects with...
Project overview: Create a java graphics program that displays an order menu and bill from a Sandwich shop, or any other establishment you prefer. In this program the design is left up to the programmer however good object oriented design is required. Below are two images that should be used to assist in development of your program. Items are selected on the Order Calculator and the Message window that displays the Subtotal, Tax and Total is displayed when the Calculate...
1. Create a file that contains 3 rows of data of the form: First Name Middle Name Last Name Month Day Year Month Day Year GPA. This file represents student data consisting of first name, middle name, last name, registration month, registration day, registration year, birth month, birth day, birth year, current gpa. ...or you may download the data file inPut.txt. inPut.txt reads: Tsia Brian Smith 9 1 2013 2 27 1994 4.0 Harper Willis Smith 9 2 2013 9...