Ask Question
6 December, 16:32

You need to design an online login form in which users have to type their name and password to log into an application. The password can be a combination of numbers and letters. Which data type is most suitable for a password field?

+1
Answers (2)
  1. 6 December, 16:50
    0
    The type string is most suitable
  2. 6 December, 16:59
    0
    The correct answer is data type string.

    Explanation:

    Numeric data types (int, float, double, etc) are not suitable because you cannot incluse letters, just numbers. For example.

    int x = 124320 is valid

    int x = 12a45re is not valid.

    The data type string is the one that allows the combination of numbers and letters. For example

    char password[] = "bills2019" is valid

    So the correct answer is data type string.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “You need to design an online login form in which users have to type their name and password to log into an application. The password can be ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers