#include <stdio.h>
int main() {
int number;
printf("Enter an integer: ");
scanf("%d", &number);
printf("You entered: %d", number);
return 0;
}
#include <stdio.h>
int main(){
int num = 1024;
while(num != 0){
int digit = num % 10;
num = num / 10;
printf("%d
", digit);
}
return 0;
}
// the %d is a format specifier that search for a variable containing
// an int in the printf function.
printf("You entered: %d", number);
Code Example |
---|
C :: fread condition |
C :: how to make play a song javascript |
C :: or gmode inline image |
C :: how to reset to read from beginning of file c |
C :: C (Windows) |
C :: The closest in between |
C :: class to const void * |
C :: reverse number in c |
C :: ctest run specific test |
C :: what is float in c |
C :: c variable |
C :: tableau c |
C :: mitch mcconnell |
C :: mongodb delete all documents |
Dart :: future delayed flutter |
Dart :: button shape flutter |
Dart :: how to make a column scrollable in flutter |
Dart :: flutter beta switch |
Dart :: flutter checkbox |
Dart :: flutter auto height container |
Dart :: slice string dart |
Dart :: BoxShadow in DrawerHeader flutter |
Dart :: flutter textfield label color |
Dart :: flutter AnimatedOpacity |
Dart :: verified publisher account on pub.dev using google blogger |
Dart :: dart regex for url |
Dart :: dart super constructor |
Dart :: flutter performance timer |
Dart :: transparent appbar flutter |
Dart :: online dart compiler |