Advertisement
AIwinter

Untitled

Mar 24th, 2023
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. import java.util.Scanner;
  2. public class Program {
  3. public static void main(String[] args) {
  4. Scanner s = new Scanner(System.in);
  5. System.out.print("введите x: ");
  6. double x = s.nextDouble();
  7. System.out.print("введите количество операций: ");
  8. int hmax = s.nextInt();
  9. int h = s.nextInt();
  10. /*for (int i = 0; i < hmax; i+h){
  11. x += i;
  12. double res = Math.cos(x) + Math.pow(x,2);
  13. System.out.println(res);*/
  14. while
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement