diff options
Diffstat (limited to 'TextFile1.txt')
| -rw-r--r-- | TextFile1.txt | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/TextFile1.txt b/TextFile1.txt new file mode 100644 index 0000000..819b3f2 --- /dev/null +++ b/TextFile1.txt @@ -0,0 +1,144 @@ +James Lawrance Lab 4 Work + Output +---------------------------------- + +7a - +6.8 Exercises 1-9 - + +1. 3 +2. -nan(ind) +3. 32 +4. .25 +5. 6 +6. 6 +7. 5 +8. 5 +9. 4 + +9.3 Learn by Doing Exercises output - + +This program will find the average of 3 user values +Enter the first number: 76.8 +Enter the second number: 55.3 +Enter the third number: 100 + +The average is: 77.3667 + +7b - +9.4 Learn by Doing Exercises output - + +Enter the employee's salary +10000 +Enter the employee's years of service +9 + +The employee's new salary will be 10500, and they will receive a bonus of 2000 + +7c - +9.5 Learn by Doing Exercises output - + +output 1 - + +Input the current hours (0-23) +12 + +Input the current minutes (0-59) +0 + +Input the current seconds (0-59) +0 + + +Press 'd' for default, press 'm' for style menu. +d + +The current time: 12:00:00PM in standard format + +output 2 - + +Input the current hours (0-23) +18 + +Input the current minutes (0-59) +50 + +Input the current seconds (0-59) +2 + + +Press 'd' for default, press 'm' for style menu. +d + +The current time: 6:50:02PM in standard format + +output 3 - + +Input the current hours (0-23) +9 + +Input the current minutes (0-59) +30 + +Input the current seconds (0-59) +00 + + +Press 'd' for default, press 'm' for style menu. +m +Press 1 for 24 hour notation, 2 for military time, or 3 for standard format. +1 + +The current time: 09:30:00 in 24 hour notation + +output 4 - + +Input the current hours (0-23) +23 + +Input the current minutes (0-59) +59 + +Input the current seconds (0-59) +59 + + +Press 'd' for default, press 'm' for style menu. +m +Press 1 for 24 hour notation, 2 for military time, or 3 for standard format. +2 + +The current time: 235959 in military time + +output 5 - + +Input the current hours (0-23) +25 + +Error: value outside of the range 0-23 entered. +Input the current hours (0-23) +21 + +Input the current minutes (0-59) +-15 + +Error: value outside of the range 0-59 entered. +Input the current minutes (0-59) +15 + +Input the current seconds (0-59) +60000000 + +Error: value outside of the range 0-59 entered. +Input the current seconds (0-59) +60 + +Error: value outside of the range 0-59 entered. +Input the current seconds (0-59) +20 + + +Press 'd' for default, press 'm' for style menu. +m +Press 1 for 24 hour notation, 2 for military time, or 3 for standard format. +3 + +The current time: 9:15:20PM in standard format |