Which one of the following statement correctly executes three - ProProfs Discuss
Topics
Products
Follow Us:

Which one of the following statement correctly executes three instructions if the condition is true?



A. If (x < 0) a = b * 2; y = x; z = a – y;
B. { if (x < 0) a = b * 2; y = x; z = a – y; }
C. If{ (x < 0) a = b * 2; y = x; z = a – y ; }
D. If (x < 0) { a = b * 2; y = x; z = a – y; }

This question is part of Computer Programming II Exam (Multiple Choice)
Asked by Justinsmith, Last updated: Apr 07, 2020

+ Answer
Request

2 Answers

John Adney

John Adney

Answered Aug 19, 2017

If (x < 0) {a = b 2;y = x;z = a y; }

 

John Smith

John Smith

Answered Oct 27, 2016

If (x < 0) { a = b 2; y = x; z = a – y; }
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.