Let Us GCC/Code 1.3
Appearance
(Redirected from Let Us GCC/Example 1.3)
Old Code
[edit | edit source]/* Just for fun. Author: Bozo */
main( )
{
int num ;
printf ( "Enter a number" ) ;
scanf ( "%d", &num ) ;
printf ( "Now I am letting you on a secret..." ) ;
printf ( "You have just entered the number %d", num ) ;
}
New Code
[edit | edit source]/* Just for fun. Author: Bozo */
/* Editor GReaperEx Date: 19/7/2015 */
#include <stdio.h>
int main(void)
{
int num;
printf("Enter a number");
scanf("%d", &num);
printf("Now I am letting you on a secret...");
printf("You have just entered the number %d", num);
return 0;
}