Concept explainers
List of variables:
name: stores the name of the person.
birthdate: stores the date of birth entered by user.
worknum: stores the work phone number.
cellnum: stores the cell phone number.
List of functions used:
Write(): To display instructions in string to user.
Convert.ToInt32(): To convert the entered string into integer.
ReadLine(): To read input from user in string format.
Summary Introduction:
Program will use Main () method to prompt the user to enter values for name, birthdate, working phone number and cell phone number. These values are then printed using console.WriteLine().
Program Description:
Purpose of program is to enter values from user and display name, birthdate, work phone number and cell phone number in output.
Trending nowThis is a popular solution!
Chapter 1 Solutions
Microsoft Visual C#
- Design an application for Bob’s E-Z Loans. The application accepts a client’s loan amount and monthly payment amount. Output the customer’s loan balance each month until the loan is paid off. create a pseudocode for this pleasearrow_forwardUsing python languagearrow_forwardCreate a C Program that displays your Autobiography in Life Name: Finding NemoAge: 19Birthday: August 15, 2001 Favorite Color: Black and whiteFavorite Food: CarbonaraFavorite Animals: DogsFavorite Movie: A Walk to RememberCrush: Cole SprouseMotto in Life: Nothing is impossibleDreams in Life: Be rich and to attain genuine happinessarrow_forward
- 1. Create a Windows application that will ask the user to type the student's name and his grades in five (5) subjects. Include validation on the application. Use the following condition: The student is considered passed if his average grade is greater than or equal to 75.00; otherwise, the student failed. 2. Name the project as StudentGradeApplication and the class or fom as frmStudentGradeProgram. 3. Figure 1 shows the example output. 4. Submit the following: .CSPROJ file / .SLN file, screenshot of the output and the link of your recorded video/screen while coding. Student Grade Application O X Name: Jack Paul Grades English 85.05 Math 87.72 Science 91.42 The student passed. The general average of Jack Paul is 88.56. Filipino 93.50 History 85.11 Generate Average Figure 1. Example outputarrow_forwardHello, Kindly assist with the attached Java problem. Thanksarrow_forwardMicrosoft Visual C# 7th edition. need help, please. Thanks In previous chapters, you created applications for Marshall’s Murals. Now, modify the version of the MarshallsRevenue program created in Chapter 5 so that after mural data entry is complete, the user is prompted for the appropriate number of customer names for both the interior and exterior murals and a code for each that indicates the mural style: L for landscape S for seascape A for abstract C for children’s O for other When a code is invalid, re-prompt the user for a valid code continuously. For example, if Y is input, output Y is not a valid code, and re-prompt the user until a valid code is entered. After data entry is complete, display a count of each type of mural. For example the output should be in the following format with the correct number next to each mural type: The interior murals scheduled are: Landscape 1 Seascape 2 Abstract 1 Children's 3 Other 9 The exterior murals scheduled are: Landscape 4 Seascape 0…arrow_forward
- python The intent of this program is to manage a set of contacts. Each contact will have data associated with it: Id – number/integer First Name – string Last Name – string Age – number/integer Phone Number – string Email – string Anything else you’d like to add to make yours unique (can result in extra credit) Gender – character or string (m/f/o) Twitter ID, Facebook Id, etc You must allow the customer to do the following actions on the contact list: List all contacts Add contact Delete contact Edit contact Exit program You should leverage a database (PostgreSQL) to save everything to the DB and read from it. You should use classes for this assignment. This means you should have two classes: Contact – all the attributes/properties described above with appropriate constructor. Methods: Add (constructor - __init__(p_id, p_fname, p_lname, p_age, p_phone, p_email, p_gender) Edit Contact List (contact_list) – built on Python list (or creating one within the constructor), you…arrow_forwardGive answer fast don't copy anythingarrow_forwardFor this lab, you will be doing the following in C#: 1) Create a Home form with buttons that when clicked, will open the Account, Email, and eventually the Contact forms. The Account form should be opened in "View" mode. 2) Add code to the Login form so the Account form opens when the user clicks "Create New Account". The Account form should be opened in "Modify" mode. 3) Add code to the Login form that validates the user input before allowing the user the access the Home form. For now, just verify the user enters "user1" and "12345" for the username and password respectively.arrow_forward
- Create a C++ console project in Visual Studio or another tool. Create an application that converts a student’s grade percentage to a letter grade following the rules below: Grade Percentage A 100-90 B 89-80 C 79-70 D 69-60 F 59-0 Your code should prompt for and get the student’s percentage as input, and output an error message or a letter grade. Note: Your code should test these cases: Percentages less than 0 – error message. Percentages greater than 100 – error message. Percentages in the range 0-100 – letter grade. Please make sure your code can handle these cases. Tips: Use operator and ‘||’ for the conditional control statement. Use instruction ‘if’ for conditional control. Make the following edits to the code file: Complete the header comment. 2) Declare two double variables: grade and percentage. 3) Assign the value of percentage from input. 4) End program if percentage is smaller than 0 and…arrow_forwardx = m mod 5 =4, m is the number of Os y = n mod 5= 0, n is the number of 1s Create an NFA or e-NFA that satisfies x + y. It means "The number of Os mod 5 is 4 or the number of 1s mod 5 =0"arrow_forwardA(n) _____________ is generated when a user interacts with a GUI object. a. error b. occasion c. method d. eventarrow_forward
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,EBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
- C++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning