Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C programming #451

Open
sudhanshuyaduwansi opened this issue Oct 24, 2024 · 4 comments
Open

C programming #451

sudhanshuyaduwansi opened this issue Oct 24, 2024 · 4 comments

Comments

@sudhanshuyaduwansi
Copy link

#include <stdio.h>

int main(){
// int length = 3;
// int breadth = 6;
int length, breadth;
printf("Enter length\n");
scanf("%d", &length);

printf("Enter breadth\n");
scanf("%d", &breadth);

printf("The area of this rectangle is %d", length*breadth);
return 0;

}

@Seanpesis
Copy link

18

@shushant0603
Copy link

The area of this rectangle is 18

@Manishmine
Copy link

area of rectangle is 18

@ParthShah007
Copy link

18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants