Computer Science, asked by shivamaggarwal21, 1 year ago

write the java expression for the following

Attachments:

Answers

Answered by ankitkrpt
1
we write as....
var s=3*n^2+(2*y)/n-y
var s= u*t+1/2*(a*t^2)
these way we write these expression in java
Answered by Oreki
2

\textsf{\large Java Expression:}

   \begin{itemize}     \item \textsf{\small (a)} \:\: \texttt{s = 3 * n * n + (2 * y) / (n - y);}     \item \textsf{\small (b)} \:\: \texttt{s = u * t + (0.5 * a * t * t);} \end{itemize}

Similar questions