I want to create a simple program wherein the user inputs any number but only a postive integer is accepted (like the kind mentioned in the CS50 pset1 water walkthrough video) Ive been onto this for a while now but am nowhere near figuring out where ive gone wrong
Is my format of the do while loop incorrect? what is the meaning of error: expected identifier or '('? Also, i thought int main(void) doesnt take a semicolon afterwards, why is it suggesting "expected ';' after top level declarator int main(void)" ?