subject

Write a program that prints a prompt, reads an integer from the console, and prints all positive integers that are less than or equal to the integer you read from the console.
your prompt should look like this:
enter number:
you'll need system calls 1, 4, and 5 for this program.
suppose if you the user input 5 then console should print
1
2
3
4
5

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:00
Why should characters such as / \ " ' * ; - ? [ ] ( ) ~ ! $ { } < > # @ & | space, tab, and newline be avoided in file names?
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Which task uses a simple parameter?
Answers: 1
You know the right answer?
Write a program that prints a prompt, reads an integer from the console, and prints all positive int...
Questions
question
Business, 25.09.2021 01:00
question
Mathematics, 25.09.2021 01:00
Questions on the website: 13722367