1. Engineering
  2. Computer Science
  3. you are creating a new account on a website and...

Question: you are creating a new account on a website and...

Question details

You are

creating

a new account on a website

and need to come up with a user

name. The

w

ebsite

requires that a new user

name meets

the following requirem

ent:

a)

There is a 5

-

15

symbol limit for the usernames.

b)

It

can include

alphabetic lette

rs upper or lower case, digit, period, or

underscore, but no

space or

any

other punctuation

s

.

Write a program that

checks the username for

the website

.

Use getchar() functions. Do not use array or strlen functions either

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution