// example: How to get user input #include <stdio.h> int main(){ int num; printf("Please enter a number: "); scanf("%d", &num); // Save user input to the num variable printf("The number you entered is:: %d ",$num); return 0; }oSurce:www.lautturi.com