Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
formatting_input_and_output
//gcc 7.4.0 #include <stdio.h> int main(void) { printf("%-20d %d",1234,123); printf("\n%lf",1234.5656); printf("\na = %-+12.2f",123.336); printf("b = %-+7.2f",-123.45); printf("\n %7.4f \n %7.2f \n %-7.2f \n %f \n %10.2e \n %11.4e \n %-10.2e\n %e",98.7654,98.7654,98.7654,98.7654,98.7654,98.7654,98.7654,98.7654); return 0; }
run
|
edit
|
history
|
help
1
a weird way to print hello, world! hmm...
Michael Bean's Spring 2017 Lab 3 v1
Assignment 2
PER problem 2
z is 7
Project 5 v.02
swap_bitwise.c
Assignment 4
2.2 Comparision with Matrix Addition Execution Time
Primes in binary