Answer:
See attachment for flowchart
Explanation:
The flowchart is represented by the following algorithm:
1. Start
2. Input Mass
3. Input Volume
4 Density = Mass/Volume
5. Print Density
6. Stop
The flowchart is explained by the algorithm above.
It starts by accepting input for Mass
Then it accepts input for Volume
Step 4 of the flowchart/algorithm calculated the Density using the following formula: Density = Mass/Volume
Step 5 prints the calculated Density
The flowchart stops execution afterwards
Note that the flowchart assumes that the user input is of number type (integer, float, double, etc.)
Answer: i think 1, 3, and 4
Explanation:
Hi,
the program is as follows
___________________________________________________________
import java.io.*;
class doubleval
{
public static void main()throws IOException
{
DataInputStream dt=new DataInputStream(System.in);
System.out.println("Enter NUMBER WHOSE DOUBLE U WANT TO PRINT");
int n=Integer.parseInt(dt.readLine());
for(int i=n;i<=100;i=2*i)
{
System.out.println(i);
}
}
}
Use the mouse to click on cell E14 and press delete