//Chapter 1, Problem 1 clc; I=5; //current T=2*60; //time taken to flow current Q=I*T; //calculating quantity of electricity printf("Quantity of electricity Q = %f C \n\n\n",Q);