SHOW:
|
|
- or go back to the newest paste.
1 | - | public int problema03(int x) { |
1 | + | public class Aulas { |
2 | - | int fx = 3 * (x*x) + 2 * x + 7; |
2 | + | public int problema03(int x) { |
3 | - | return fx; |
3 | + | int fx = 3 * (x * x) + 2 * x + 7; |
4 | - | } |
4 | + | return fx; |
5 | } | |
6 | - | public static void main(String[] args) { |
6 | + | |
7 | - | Aulas aulas = new Aulas(); |
7 | + | public static void main(String[] args) { |
8 | - | aulas.problema03(2); |
8 | + | Aulas aulas = new Aulas(); |
9 | aulas.problema03(2); | |
10 | } | |
11 | } |