Advertisement
Guest User

Untitled

a guest
May 30th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.72 KB | None | 0 0
  1. package Samost;
  2. import java.util.Scanner;
  3.  
  4.  
  5.  
  6. public class Main {
  7. public static void main(String[]args){
  8. Scanner sc = new Scanner(System.in);
  9. int years;
  10. int input;
  11. int pensi;
  12. int stavka;
  13.  
  14.  
  15. System.out.print("Cкільки вам років?" );
  16. years = sc.nextInt();
  17. System.out.println("Скільки відкладати в рік?");
  18. input = sc.nextInt();
  19. System.out.println("Пенсійний вік?");
  20. pensi = sc.nextInt();
  21. System.out.println("Вісоткова ставка?");
  22. stavka = sc.nextInt();
  23. sc.close();
  24. }
  25.  
  26.  
  27. static void insert(int[] array){
  28.  for (int i = 0; i < array.length; i++) {
  29.     array[i-1]=
  30.     }}
  31.  
  32. static int[] create(int size){
  33. int[] array = new int[size];
  34. return array;  
  35. }
  36.  
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement