Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  chairs
Language: C/C++
Code:
#include<stdio.h>
#include<math.h>
int main( )
{
    int a1,b1,c1,a2,b2,c2,m,n,v;
    printf("enter a1,b1,c1,values");
    scanf("%d%d%d",&a1,&b1,&c1);
    m=a1*b1*c1;
    printf("value of m is%d=",m);
    printf("enter a2,b2,c2 values");
    scanf("%d%d%d",&a2,&b2,&c2);
    v=a2*b2*c2;
    printf("value of v is%d=",v);
    n=v/m;
    printf("the no of chairs arrangd in room is%d= ",n);
}

          
          
Comments: