printf() is used to display the prompts for the user to enter the starting and ending values, and scanf() is used to get the input and store it in the variables 's' and 'e' respectively. Inside the main function, two integers s and e are declared. The int main() function is the starting point of the program execution.
0 Comments
Leave a Reply. |