Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int rebro;
- printf("Enter dlina rebra ");
- scanf("%d", &rebro);
- printf("Dlina rebra is %d\n", rebro);
- printf("Ploshad grani is %d\n", rebro*rebro);
- printf("Ploshad bokovoi poverhnosti is %d\n", 4 * (rebro*rebro));
- printf("Ob'em cuba %d\n", rebro*rebro*rebro);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement