usmanihasan7 usmanihasan7
  • 04-07-2021
  • Computers and Technology
contestada

#include

int main()
{
char ch;
printf("Enter any letter");
ch=getch
();
printf("\nYou Pressed %c",ch);

return 0;
}
whats the error not giving the correct output

Respuesta :

apikshyashrestha
apikshyashrestha apikshyashrestha
  • 05-07-2021

Answer:

#include<studio.h>

#include<conio.h>

void main()

{

char ch;

printf("Enter any letter");

scanf("%c",&ch);

Answer Link

Otras preguntas

A student needs to use the metric system while measuring the length of a box. Which units should he use?
How might you determine whether flute-playing ability is a highly heritable trait?
What is the main function of the excretory system in mammals?
The medians dropped to the legs of an isosceles triangle are congruent. True or false?
Why is it critical to add the bill of rights to the US constitution?
Who wanted believers from all creeds of Christianity to live and worship freely in his colony? Roger Williams William Penn John Winthrop William Bradford
D'sawn was mixing soda. He needed 1 cup of fizzy water and 2 tsp of flavor. He only had a 1/2 tsp of flavor. How much Fizzy water should he add?
What is the meaning of "low self-esteem"? Answer truly or I'll report you
Which of these lines from the poem is meant to persuade the audience to keep fighting until the end?
What impact did the collapse of the Napoleonic Empire have on Europe? The end of the Napoleonic Empire created a power vacuum that led to the domination of Ger