Ask Question
26 August, 02:59

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?

+3
Answers (2)
  1. 26 August, 04:27
    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.
  2. 26 August, 05:52
    0
    The type string is most suitable
Know the Answer?
Not Sure About the Answer?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers