Skip to content

Instantly share code, notes, and snippets.

import java.util.*;
public class dupa{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
int n = input.nextInt();
String[] tab = new String[n];
for(int i=0;i<n;i++)
tab[i] = input.nextLine();
void zwieksz(student * tab, int &n){
system("cls");
student * kopia = new student[n] ;
for(int i=0; i<n; i++)
kopia[i]=tab[i] ;
delete[] tab ;
tab=new student[n+1] ;
for(int i=0; i<n; i++)