Write a program using two-d array to store a user name

Assignment Help Programming Languages
Reference no: EM1360604

Write a program using a 2-D array to store a user name and password (both strings) that will ask the user for his/her user name and then test to see if they are a valid user, if they are a valid user then the program should ask the user for their password. If they are not a valid user the program should allow the user to make a total 3 attempts to enter a valid user-name. If the user does not enter a valid user-name the program should exit after they have extinguished their 3 attempts and print an error indicating why the user was kicked out. If the user has enter a valid user-name the program should check to see if the password they entered is valid, if it is then print a welcome user screen if not allow the user to retry their password 2 more times ( a total of 3 tries). If after 3 attempts at the password the program should exit and print an error indicating why the user was kicked out.

Reference no: EM1360604

Questions Cloud

How tax will increase goverment revenue : The legislature has stated that the $.03 tax will increase goverment revenue by $300,000 per month and raise the price of gasoline by $.03 per gallon. is this correct.
Explain the technical and demographic : Explain the technical, demographic, and management practices that might cause you to be especially concerned about the seniority clause in your current contract.
Retention plan : There has been a high voluntary turnover rate at this company and the CEO has directed you to develop a retention plan to resolve the high voluntary turnover rate. Outline a retention plan.
What is the area of contact of each tire : What is the area of contact of each tire. find the coefficient of static friction between the car and track from these data.
Write a program using two-d array to store a user name : Write a program using a 2-D array to store a user name and password (both strings) that will ask the user for his/her user name and then test to see if they are a valid user.
Illustrate what would be the opportunity cost of x had : Illustrate what would be the opportunity cost of x had the economy efficiently produced 10 units of y? Can the economy efficiently produce these quantities.
Motivational factors involved in your behavior : Please help me to understand a description of a scenario that illustrates two levels of Maslow's Hierarchy of Needs and explain how it does so. Then, explain how Maslow's theory may not capture all of the motivational factors involved in your beha..
How does this work at the workplace : How does this work at the workplace and what is the significance of prototyping? Would prototyping work in the workplace? Explain.
What is the magnitude of the horizontal net force : What is the magnitude of the horizontal net force. An 845-N sled is pulled a distance of 168 m. The task requires 1.20 multiplied by 104 J of work and is done by pulling on a rope with the force of 121 N. At what angle is the rope held.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd