[Solved] display that precedes the number entered. (C programming) [closed]
For asking the user a question, you can use something like printf or puts. To request numbers from the user, scanf is probably the best approach for the level you’re working at. By way of example, here’s a complete program that asks the user for a number then gives them the next number: #include <stdio.h> … Read more