APL/APL1.1/CM1/Format.c

13 lines
245 B
C
Raw Normal View History

2021-11-16 14:34:07 +01:00
#include <stdio.h>
#include <stdlib.h>
int main(void) {
unsigned int a = 65U;
float c = 65.00;
2021-11-16 15:36:38 +01:00
signed char d = 'A';
2021-11-16 14:34:07 +01:00
printf("%u\n", a);
printf("%hhd\n", d);
printf("%.0f\n", c);
2021-11-16 14:55:36 +01:00
printf("%s\n", 65.0);
2021-11-16 14:34:07 +01:00
return EXIT_SUCCESS;
}