         values (@ime, @prezime, @email, @telefon, @idgrad)
         set @idkupac = SCOPE_IDENTITY()
         
-        print 'Novi Kupac(' + cast(@idkupac as nvarchar(50)) + '), novi grad(' + cast(@idgrad as nvarchar(50)) + '), postojeca drzava(' + cast(@iddrzava as nvarchar(50)) + ').'
+        return 'Novi Kupac(' + cast(@idkupac as nvarchar(50)) + '), novi grad(' + cast(@idgrad as nvarchar(50)) + '), postojeca drzava(' + cast(@iddrzava as nvarchar(50)) + ').'
     END
     ELSE IF @idkupac is null and @idgrad is not null and @iddrzava is not null
     BEGIN

        values (@ime, @prezime, @email, @telefon, @idgrad)
        set @idkupac = SCOPE_IDENTITY()
        
        print 'Novi Kupac(' + cast(@idkupac as nvarchar(50)) + '), novi grad(' + cast(@idgrad as nvarchar(50)) + '), nova drzava(' + cast(@iddrzava as nvarchar(50)) + ').'
    END
    ELSE IF @idkupac is null and @idgrad is null and @iddrzava is not null
    BEGIN


Napraviti jedan primjer poziva procedure koji ce ispisati vrijednost 
izlaznog parametra procedure. */
use AdventureWorksOBP
go

create proc p1
    @ime nvarchar(50), @prezime nvarchar(50), @email nvarchar(50),
