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#
- Create a code in C programming language that displays; Name: Gleysie A. Repunte Age: 20 Birthday: February 28, 2001 Favorite color: Orange Favorite Food: Friedchicken Favorite Animal: Bird Favorite Movie: She Never Knows Crush: Reynand Albiso Motto in life: Failure is the opportunity to begin again more intelligently Dream in life: To be a successful a chemical engineerarrow_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
- Using c++ computer languagearrow_forwardCreate a simple program for a quiz Software Requirements: Latest version of NetBeans IDE Java Development Kit (JDK) 8 Procedure: Create a folder named LastName_FirstName (ex. Dahan yoon) in your local Create a new project named LabExer5B. Set the project location to your own The program shall: contain an array of 10 multiple choice questions with three (3) choices each and require the user to choose among A, B, or C; Note: Cases are ignored. Lowercase letters are acceptable (a, b, c). Create a try-catch structure to handle three (3) exceptions. These are when the user inputs the following: an invalid letter (not A, B, or C) a number or any special character blank (no answer) Prompt the user that he can answer again if any of the three (3) exceptions is Display the score.arrow_forwardUsing a gui in java please create a tic tac toe game. Player can verse player or computer (buttons) Please create one the program using JFrame implements action listener More requirements belowarrow_forward
- Microsoft 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_forwardGive answer fast don't copy anythingarrow_forwardPythonarrow_forward
- Develop a C# program using Visual Studio that has the following interface:(in the pictures below) The program must also handle the FormatException and should output an error (in aMessageBox) if the user tries to enter a number in the wrong format as shown below:arrow_forwardMake a python code that will show the GUI belowarrow_forwardCreate 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_forward
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning