mtb


{ City } cape coral
< Country > usa
* Profession *
User No # 75186
Total Questions Posted # 12
Total Answers Posted # 0

Total Answers Posted for My Questions # 13
Total Views for My Questions # 35284

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { mtb }
Questions Answers Category Views Company eMail

write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

C++ General 1530

Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

C++ General 1592

Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;

1 C++ General 2526

Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;

2 C++ General 3361

Write a corrected statement in c++ so that the statement will work properly. x =+ 7;

2 C++ General 3192

Write a corrected statement in c++ so that the statement will work properly. x + y=z;

2 C++ General 3381

If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?

2 C++ General 3975

Write a single instruction that will find the remainder of integral division when x is divided by y. Have the answer stored in z.

1 C++ General 2955

Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

C++ General 1591

Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

C++ General 1676

Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.

1 C++ General 3199

Given the following function definition: int doit(int &x, int y, int &z) { x = 3*x; y = y + 5; z = x+y; return z - 4; } int a = 5, b = 7, c = 9, d = 11; d = doit(a,b,c);

2 C++ General 6306




Answers / { mtb }