Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Practice programs on C basics — input/output, variables, and simple calculations.
#include <stdio.h> int main() { printf("John Doe\n"); return 0; }
#include <stdio.h> int main() { float length, breadth; printf("Enter length and breadth: "); scanf("%f %f", &length, &breadth); printf("Area = %.2f\n", length * breadth); return 0; }
#include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); a = a + b; b = a - b; a = a - b; printf("a = %d, b = %d\n", a, b); return 0; }