Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

how to print int in c

#include <stdio.h>
int main() {   
    int number;   
    printf("Enter an integer: ");  
    scanf("%d", &number);
    printf("You entered: %d", number);    
    return 0;
}
 
PREVIOUS NEXT
Tagged: #print #int
ADD COMMENT
Topic
Name
1+8 =