0
Can anyone tell me this programme is right or not? If it is right than y it's not running in my programming hub compiler?
#include <stdio.h> int main() { int length,breadth; printf("what is the length of rectangle\n"); scanf("%d", &length); printf("what is the breadth of rectangle\n"); scanf("%d", &breadth); printf("the area of your rectangle is %d" &length*breadth); }
1 Answer
+ 4
Abhay Verma
Last statement is wrong. There should be
printf("the area of your rectangle is %d", length * breadth);