what is wrong with my C++ code thanks?


this is the link that will take you to it.

1 Answer

  • EddieJ
    Lv 7
    1 month ago

    if (num_insert >= 0 );

    should have a curly brace, not a semicolon, at the end

    if (num_insert >= 0 ) {

    You also need a } to end main ()

Still have questions? Get your answers by asking now.