Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
213 B

#include <stdio.h>
int main (void) {
float quarts;
printf("Enter a amount of water, in quarts: ");
scanf("%f", &quarts);
printf("Number of molecules: %e\n", quarts * 950.0 / 3.0e-23);
return 0;
}