GetInt() and GetString()

307 4 0
                                    

Both functions are to get user input. GetInt() gets any number. While GetString() is used to get letters or words from the user. The GetInt() function also allows the program to do mathematical equations(while discus later). GetString() function can be turned in to ascii values.The GetString() and GetInt() function can be put in to a printf function. However for all these you will need "#include <cs50.h>"

Programming language &quot;C&quot;Where stories live. Discover now