fork download
  1. #include <stdio.h>
  2. #include <conio.h>
  3. main()
  4. {
  5. int weight
  6. printf("Enter mala weight: ");
  7. scanf("%d",&weight);
  8. price = weight*30
  9. print("Price to pay is %d",price)
  10. return 0;
  11. }
Success #stdin #stdout 0.03s 25424KB
stdin
Standard input is empty
stdout
#include <stdio.h>
#include <conio.h>
main() 
{
    int weight
    printf("Enter mala weight: ");
    scanf("%d",&weight);
    price = weight*30 
    print("Price to pay is %d",price)
    return 0;
}