the result of this expression ((3-4)/2*-2) is 1/2 O

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter4: Financial Functions, Data Tables, And Amortization Schedules
Section: Chapter Questions
Problem 4EYW
icon
Related questions
icon
Concept explainers
Question
M M A ¿ r:0A
the result of this expression (3-4)/2*-2) is
1/2
2 O
1 O
1/4
Choose suitable statement to check if the number is divisible by 5
and not divisible by 10
If(num%5!=0 || num%10==0)
If(num%5==0 || num%10!=0)
If(num%5==0 || num%10==0)
If(num%5==0 && num%10=30)
If(num%5==0 && num%10!=0)
choose suitable data type for this value 3'
Int
>
Transcribed Image Text:M M A ¿ r:0A the result of this expression (3-4)/2*-2) is 1/2 2 O 1 O 1/4 Choose suitable statement to check if the number is divisible by 5 and not divisible by 10 If(num%5!=0 || num%10==0) If(num%5==0 || num%10!=0) If(num%5==0 || num%10==0) If(num%5==0 && num%10=30) If(num%5==0 && num%10!=0) choose suitable data type for this value 3' Int >
81
M M A p r:0A
The output pf the following code is :
int x=3;
if(x>=0)
{
cout<<" x is positive number";
}
else
{
cout<<" x is negative number";
}
cout<
"x="<<x;
x is positive number
x-3
x is positive number x=3
Transcribed Image Text:81 M M A p r:0A The output pf the following code is : int x=3; if(x>=0) { cout<<" x is positive number"; } else { cout<<" x is negative number"; } cout< "x="<<x; x is positive number x-3 x is positive number x=3
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT