What value

J

Jimbo1873

Hi can someone help me with these problems.
1. what value is assigned to the type 'double' variable 'x' by the
statement
x = 25.0 * / 2.5;

2. what value is assigned to 'x' by the following statement, assuming
'x' is 10.0?
x = x - 20.0;
 
R

Rolf Magnus

Jimbo1873 said:
Hi can someone help me with these problems.
1. what value is assigned to the type 'double' variable 'x' by the
statement
x = 25.0 * / 2.5;
None.

2. what value is assigned to 'x' by the following statement, assuming
'x' is 10.0?
x = x - 20.0;

Isn't that obvious?

Btw: please always post minimal, but complete programs, not just single
lines of code without context.
 
R

red floyd

Jimbo1873 said:
[blatant "do my homework" redacted]

If you give me your instructor's email address, I'll send the answers
directly to him, and save you the trouble.
 
S

shadowman615

Jimbo1873 said:
Hi can someone help me with these problems.
2. what value is assigned to 'x' by the following statement, assuming
'x' is 10.0?
x = x - 20.0;

Ummm, if you can't figure this out, the best advice I can give you is
to switch to a degree program in fine arts or humanities.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top