#include <stdio.h> int main(){ float Width; float Long; printf("\nInput value of Width : "); scanf("%f", &Width); printf("Input value of Long : "); scanf("%f", &Long); printf("Area of a Rectangle is %.2f \n\n",Width * Long); return 0;}
Standard input is empty
#include <stdio.h> int main() { float Width; float Long; printf("\nInput value of Width : "); scanf("%f", &Width); printf("Input value of Long : "); scanf("%f", &Long); printf("Area of a Rectangle is %.2f \n\n",Width * Long); return 0; }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!