Reputation: 1667
This is my code :
#include <stdio.h>
int main()
{
int num;
printf("Enter the Number :");
scanf("%d",&num);
printf("\nNumber = %d",num);
return 0;
}
and when run this code I cant input the number , eventhough I didn't enter any number I get the output
Enter the Number :
Number = 1757380702[Finished in 0.1s]
What should I do for enter the input? Thanks in Advance
Upvotes: 1
Views: 464
Reputation: 4056
I'm pretty sure Sublime Text just doesn't support that--see this related question. The only Mac text editor that I know for sure will do what you want is Chocolat.
Upvotes: 2