Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 2 years ago

Language

C++

Compiler

gcc 12.1.0

Options
Warnings
Don't Use Boost
C++11
-pedantic

Author

anonymous

over 2 years ago

$ g++ prog.cc -Wall -Wextra -std=c++11 -pedantic
P - Print Numbers
A - Add a Number
M - display mean of the numbers
S - display smallest number
L - display largest number
Q - Quit
Enter your choice:
Input an integer to add:
334 Added.
Enter any number to continue.
P - Print Numbers
A - Add a Number
M - display mean of the numbers
S - display smallest number
L - display largest number
Q - Quit
Enter your choice:
Input an integer to add:
42 Added.
Enter any number to continue.
P - Print Numbers
A - Add a Number
M - display mean of the numbers
S - display smallest number
L - display largest number
Q - Quit
Enter your choice:
10
10
10
10
334
42
Enter any number to continue.
P - Print Numbers
A - Add a Number
M - display mean of the numbers
S - display smallest number
L - display largest number
Q - Quit
Enter your choice:
Illegal Input
Enter any number to continue.
P - Print Numbers
A - Add a Number
M - display mean of the numbers
S - display smallest number
L - display largest number
Q - Quit
Enter your choice:
Enter any number to continue.
Exit Code:
0