Mama me code eka haduwa. Mata one meka compile karama subtotal kiyana answer eka display karanna. Eth ehema wenne ne. Danna aya mata help ekak denna.
#include <stdio.h>
int main()
{
power();
}
int power()
{
int price;
int quantity;
int subtotal;
printf("Enter the price and quantity:\n");
scanf("%d %d", &price, &quantity);
subtotal = price * quantity;
printf("subtotal =\n", subtotal);
return subtotal;
}
Meke subtotal kiyana ekata answer eka ena widihata tamai hada ganna one mata.
Please help me.

#include <stdio.h>
int main()
{
power();
}
int power()
{
int price;
int quantity;
int subtotal;
printf("Enter the price and quantity:\n");
scanf("%d %d", &price, &quantity);
subtotal = price * quantity;
printf("subtotal =\n", subtotal);
return subtotal;
}
Meke subtotal kiyana ekata answer eka ena widihata tamai hada ganna one mata.
Please help me.


WOW wadane!!
Amme ara %d eka nisane okkoma wune!