summaryrefslogtreecommitdiff
path: root/occurrences.1
blob: 9fe4540e72d76eafe06005078fc431c188f8abaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.TH OCCURRENCES 1 "User Commands"
.SH NAME
occurrences - count characters, digits, and vowels in a string
.SH SYNOPSIS
.B occurrences
.SH DESCRIPTION
This program counts the number of characters, digits, and vowels in a given input string.
.SH USAGE
.IP 1. 4
Run the program by typing 'occurrences' in the terminal.
.IP 2. 4
When prompted, enter a string of characters.
.IP 3. 4
The program will output the results.
.SH OUTPUT
The program outputs:
.IP [a] 2
The total number of characters in the input string
.IP [b] 2
The number of digits (0-9) in the input string
.IP [c] 2
The number of vowels (a, e, i, o, u, case-insensitive) in the input string
.SH EXAMPLES
.B Input:
Hello123World
.PP
.B Output:
the number of characters is 13, the number of digits is 3, and the numbers of vowels are 3
.SH NOTES
.IP [a] 2
The program considers 'a', 'e', 'i', 'o', and 'u' as vowels, regardless of case.
.IP [b] 2
All characters, including spaces and punctuation, are counted in the total character count.
.IP [c] 2
The program does not handle Unicode characters; it's designed for ASCII input.
.SH AUTHOR
Written by The Mystery Team.