inputs next record's key

scanf("%d",&keyvalue);