bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

commit 54b13cd1883b575c33d86c11368c1d4758d926fe
parent a6cba9713a512b015caf030532e78a6de11a0142
Author: Amit Dutta <amitdutta4255@gmail.com>
Date:   Mon, 22 Sep 2025 20:42:46 +0530

Add files via upload
Diffstat:
Atution-c/APC-PRAC-001.c | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/tution-c/APC-PRAC-001.c b/tution-c/APC-PRAC-001.c @@ -0,0 +1,15 @@ +/* WAP to calculate area and perimeter of a rectangle +by accepting length and breadth as input. */ +/* Author - Amit Dutta, Date - 18th SEP, 2025 */ + +#include<stdio.h> +int main() { + double length, breadth, area, perimeter; + printf("Enter the length and breadth of the Rectangle : "); + scanf("%lf %lf", &length, &breadth); + area = length * breadth; + perimeter = 2 * (length + breadth); + printf("\nArea of the Rectangle : %g" + "\nPerimeter of the Rectangle : %g", area, perimeter); + return 0; +}+ \ No newline at end of file
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror