Coder Social home page Coder Social logo

numguess's People

Contributors

qu10wenhao avatar

Watchers

James Cloos avatar  avatar

numguess's Issues

Comments from AlexChang

To begin with, I think your program is correct and I really appreciate the way you create three random numbers in your program. Nevertheless, I guess you should make some changes on the format to shorten your program. What's more, you'd better declare all the variables at the very beginning of the function 'main'.
Anyway, I suppose you have done well in this task.

Comments on NumGuess

In general, I think you've done well in this program.
The names of the variables are meaningful. There are notes which explain both the meaning of variables and the process of the game. There are also several blank lines among different parts of the program. The biggest difference between your program and others is that you use more loops, which are useful and effective when dealing with more numbers.
However, I don't quite understand the existence of the first "if" statement. I wonder if you've forgotten to delete it when changing the "if" statement to a "do-while" loop. Another problem is that the notes seem kind of untidy. But I guess this is because you use Chinese to write the notes. So it's not totally your fault.
Well, anyway, this is really a good job!

Comments from David Du

For me, the way to achieve the function used by the developer is quite straightforward and can be quite easy to understand. The developer also adds appropriate notes to his program so that I can quickly get his point. The program proves to be quite effective and efficient after my several attempts of input. All the codes are in clear format.

Well done!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.