B. Input to Output
Problem link
Score: 1
CPU: 1s
Memory: 512MB
CPU: 1s
Memory: 512MB
Here is a very simple task for you. Read an integer number from keyboard and print it.
Input
Input is a single line containing an integer.
Output
A single line containing the input number. You must not print any additional space before or after the number. Also, don't forget to add newline character at the end of input.
Sample
Input | Output |
---|---|
55 | 55 |
Solutin
#include<stdio.h>
int main()
{
int n;
scanf("%d",&n);
printf("%d\n",n);
}
No comments:
Post a Comment