start king

This commit is contained in:
Your Name
2026-05-02 03:10:01 +02:00
parent 05e167b58a
commit 64ef5c8a7c
8 changed files with 42 additions and 0 deletions
@@ -0,0 +1,20 @@
#include "stdlib.h"
#include "stdio.h"
int main(void)
{
float height, length, width, volume, weight;
printf("Enter height of box: ");
scanf("%f", &height);
printf("Enter length of box: ");
scanf("%f", &length);
printf("Enter width of box: ");
scanf("%f", &width);
volume = height * length * width;
weight = (volume + 165) / 166;
printf("Dimensions: %fx%fx%f\n", length, width, height);
printf("Volume: %f\n", volume);
printf("Weight: %f\n", weight);
}
@@ -0,0 +1,7 @@
#include "stdio.h"
int main(void)
{
printf("To C, or not to C: that is the question.\n");
return 0;
}