Member Avatar

i need help making a password program. it lets the use input a password and check it if it is following the password rules, which are the following: must have exactly 7 characters, only alphabets and digits are allowed. i don't exactly know how to put that in an if else function, but i know i have to use that. i also don't know if the string.h library is needed but, in our book, the question was from a chapter with strings.

Member Avatar
0
9
Member Avatar

how do I get the maximum, minimum and the average of an array? this may be different but how do I get to stop inputting number in an array. for example if the array is 20 and i only need 10 of them. i think its something about EOF but im not sure how to use it.

Member Avatar
0
28
Member Avatar

im new to this forum and new to C++. i had a homework problem about arrays. the user inputs a number and i had to store it in an array. up to now i still don't know how to do it. and then after that i had to find max and min and the average of the array. i tried looking for answers in other threads but couldnt find a specific one that deals with this.

Member Avatar
0
20

The End.