Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming

Reply
 
LinkBack Thread Tools
Old 11-01-07   #1 (permalink)
4.0ghz
 
JacKz5o's Avatar
 
intel nvidia

Join Date: Dec 2005
Location: The Earth
Posts: 7,382

Rep: 712 JacKz5o is becoming famousJacKz5o is becoming famousJacKz5o is becoming famousJacKz5o is becoming famousJacKz5o is becoming famousJacKz5o is becoming famousJacKz5o is becoming famous
Unique Rep: 409
FAQs Submitted: 8
Folding Team Rank: 1339
Hardware Reviews: 12
Trader Rating: 3
Default Java Help

I got a few questions:

1. What is the general purpose of conditionals? How do they enhance the creation of decisional outcomes?

2. Suppose we wanted to establish a program that analyzes and makes a decision about the following topic:

Purchase a burger or a slice of pizza based whether the price of each item was above $2.00.

Create a proram that demonstrates this decision.

3. Convert the following to its extended assignment form

x = x + 2

y = y * 4

z = z - 8

a = b + 1

x = x / 2

a = a % 6

4. Convert the following to its increment or decrement form

int q; q = q + 1 result is: ??

double r; r = r - 1.0 result is: ??

5. Which math method would be the best to use in the following situations:

Identify the largest number in the set: x=15, y=12, z=22

Identify the smallest number in the set: 20,15,35

Cube 5

Square when x = 4.0

Thanks!
__________________
System: My Rigasaurus-reX
CPU
Toledo 3800 X2 E6 (CCBWE)
Motherboard
DFI nF4 LanParty Ultra-D
Memory
2x512MB OCZ Enhanced Latency
Graphics Card
XFX 6800GS 500/1200
Hard Drive
250GB WD-Caviar 16M 3GB/s
Sound Card
Creative X-Fi XtremeMusic
Power Supply
Åntec TRUEPOWERII 550W
Case
ThermalTake Tsunami
CPU cooling
Thermaltake Big Typhoon
GPU cooling
Copper Air Block
OS
Windows XP Pro SP2
Monitor
17in. ŁĊĐ
JacKz5o is offline I fold for Overclock.net Overclocked Account JacKz5o's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 02:40 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.20694 seconds with 8 queries