All Questions
1 question
1
vote
1
answer
1k
views
Difference between scanf and get_int
Suppose I want a user to enter an integer between 1 and 8.
To start with, here is the program that uses scanf to accept integer from user.
#include <stdio.h>
#include <cs50.h>
int main (...