Write a basic program to calculate the density of a liquid. Given the Density = Mass/Volume
Answers
Answered by
1
Answer:
We'll write it in c
Explanation:
#include <stdio.h>
void main()
{
int m,v;
printf("Enter the mass and volume of the liquid");
scanf("%d%d",m v);
printf("The density of the liquid is %d",m/v);
}
Answered by
0
Answer:
Answer:
import java.util.*;
public class Liquid
{
public static void main (String args[])
{
Scanner in = new Scanner (System.in);
Explanation:
Explanation:
Similar questions