ASCII Characters for assignment help?

I have an assignment where I have to use random and seed and all that great stuff but I don't understand how to use random with characters? My assignment mentioned something about :
For integer character values see the ASCII table, for example int('a') = 97 and char(100)=d.
There are 6 non-letter characters between ā€œZā€ and ā€œaā€ (ASCII code 91-96).

I do know 65-90 is A-Z and 97-122 is a-z I just don't know what I'm supposed to do what to do with ASCII in the program o-o

How exactly do I use ASCII to write my program?

And My output as to be like such

Ienter seed number, then I enter the amount of characters I want

Then output x amount of characters :

flkmgsklmg
Fgklsgmfkg

Then I'm supposed to say how many of each character there is and Capitalized letters are the same as lower case
For example as above
f = 3 Even though there's 1 uppercase.

How do I do this?

Here's an example output lol :
Enter the seed number: 55
Number of characters: 25
Generated characters:
ptefFfdUAq
fATdgYbRYy
ZKyMC
Summary for the characters:
a = 2
b = 1
c = 1
d = 2
e = 1
f = 4
g = 1
h = 0
i = 0
j = 0
k = 1
l = 0
m = 1
n = 0
o = 0
p = 1
q = 1
r = 1
s = 0
t = 2
u = 1
v = 0
w = 0
x = 0
y = 4
z = 1
Do you wish to try again? (Y/N) y
Last edited on
Topic archived. No new replies allowed.