public class velocity{
public static void main(String [] args){
double u=5, a=3.5, t=2, v=0;
v=u+a*t;
System.out.println("Velocity is="+v);
}
}
public static void main(String [] args){
double u=5, a=3.5, t=2, v=0;
v=u+a*t;
System.out.println("Velocity is="+v);
}
}
No comments:
Post a Comment