Explore BrainMass

Explore BrainMass

    stopwatch program that will display time in letters approximately 2 inches high and 1 inch wide

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Write a stopwatch program that will display time in letters approximately 2 inches high and 1 inch wide. Display minutes, seconds, and tenths of seconds. Have the elapsed time reset to 0.00.00 when the r key is pressed, and then begin time when the t key is pressed. Stop timing, and freeze the display, when the t key is pressed the second time.

    © BrainMass Inc. brainmass.com March 4, 2021, 6:09 pm ad1c9bdddf
    https://brainmass.com/computer-science/algorithms/stopwatch-program-31662

    Solution Preview

    PROGRAM:STPWATCH
    0->C:0->T:0->P
    66->F:60->B
    2-X:1->Y

    ClrHome
    Menu("TIMER","COUNT DOWN",CD,"COUNT UP",0,"QUIT",QU)

    Lbl CD
    ClrHome
    Input "SECONDS: ",P
    P->T
    Goto 0

    Lbl ...

    Solution Summary

    The solution writes a stopwatch program that will display time in letters approximately 2 inches high and 1 inch wide.

    $2.49

    ADVERTISEMENT