Computers and Technology

This is the correct output script started on wed 02 mar 2022 07:28:07 pm est ==112027== memcheck, a memory error detector ==112027== copyright (c) 2002-2017, and gnu gpl'd, by julian seward et al. ==112027== using valgrind-3.15.0 and libvex; rerun with -h for copyright info ==112027== command: ws ==112027== status tester ----------------------------------------------------- enter following values : abc 123 -123 12 > abc container: (invalid integer) error #: 0 problem: invalid integer > 123 container: (err#1: value too high) error #: 1 problem: value too high > -123 container: (err#-1: value too low) error #: -1 problem: value too low > 12 container: (12) date tester ------------------------------------------------------- current date: 2022/03/02 test mode: current date formatted (c): 2022/03/31 current date unformatted (c): 220331 future date formatted (f): 2022/05/25 future date unformatted (f): 220525 the current date is not the same as the future date the current date is the same as the current date the current date is less than or equal to the future date the current date is less than or equal to the current date the current date is less than the future date the future date is greater than or equal to the current date the future date is greater than or equal to the future date the future date is greater than the current date -------------- assigning the current date to the future date! now both of the dates are the same! enter the following: 1- abc 2- 12 3- 1212 4- 121212 5- 221312 6- 220229 7- 220228 > abc invalid date value > 12 err#2: invalid month in date > 1212 date enterd: 2022/12/12 > 121212 err#1: invalid year in date > 221312 err#2: invalid month in date > 220229 err#3: invalid day in date > 220228 date enterd: 2022/02/28 ==112027== ==112027== heap summary: ==112027== in use at exit: 0 bytes in 0 blocks ==112027== total heap usage: 20 allocs, 20 frees, 75,812 bytes allocated ==112027== ==112027== all heap blocks were freed -- no leaks are possible ==112027== ==112027== error summary: 0 er