Saved Bookmarks
| 1. |
Write the Java expressions for : S = ut + 1/2 at² |
|
Answer» Answer: import java.util.*; class ss { public static void main(String args[]) { SCANNER SC =new Scanner(System.in); double s=0; double u,t,a; System.out.println("enter the value"); u=sc.nextInt(); t=sc.nextInt(); a=sc.nextInt(); s=(u*t)+1/2*a*t*t; System.out.println(); } } Explanation: I THINK THIS SOLUTION WILL GOING TO HELP YOU ,IF YES THEN PLEASE MARK ME BRAINLIST
|
|