Computer Science, asked by Divyavg5737, 9 months ago

Write a C program to scan a character from the input and display it on the output using get a son today's function

Answers

Answered by guptaanubhav2005
0

Answer:

#include<stdio.h>

void main()

{

   // defining a variable

   int i;

   /*  

       displaying message on the screen

       asking the user to input a value

   */

   printf("Please enter a value...");

   /*

       reading the value entered by the user

   */

   scanf("%d", &i);

   /*

       displaying the number as output

   */

   printf( "\nYou entered: %d", i);

}

Explanation:

Similar questions