An unhandled error has occurred.
Reload
X
UIZFORGE
Exams
Pricing
Career Paths
Resources
EN
Login
Sign Up
1
/ 5
Intermediate
A HR group DATA step assigns Risk='High' and Fee=25 only when Type='R' and Balance>1000; otherwise Risk='Standard' and Fee=0. Which conditional structure avoids partially updated rows? The request is for the June 2031 processing cycle.
if Type='R' and Balance>1000 then Risk='High'; Fee=25; else Risk='Standard';
if Type='R' and Balance>1000 then do; Risk='High'; Fee=25; end; else do; Risk='Standard'; Fee=0; end;
if Type='R' or Balance>1000 then do Risk='High'; Fee=25; end; else Fee=0;
where Type='R' and Balance>1000; Risk='High'; Fee=25;
AI Tutor
Stuck? Get a hint