Question: 1. Write a C program to read an integer from the console using scanf function, then print it out using printf function. (40 points)

 1. Write a C program to read an integer from the console  

1. Write a C program to read an integer from the console using "scanf function, then print it out using "printf" function. (40 points) #include int main(){ } int input /*Put "scanf function here to read the input from the console/ /Put "printf" function here to print out the input/ return 0;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Explanation In this C program we use the scanf function to read an integer from t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!