You are viewing our Forum Archives. To view or take place in current topics click here.
#31. Posted:
Status: Offline
Joined: Jun 16, 200915Year Member
Posts: 3,082
Reputation Power: 134
Status: Offline
Joined: Jun 16, 200915Year Member
Posts: 3,082
Reputation Power: 134
thanks man, a very good detailed topic nice keep up the hard work
- 0useful
- 0not useful
#32. Posted:
Status: Offline
Joined: Dec 09, 200915Year Member
Posts: 2,075
Reputation Power: 250
Status: Offline
Joined: Dec 09, 200915Year Member
Posts: 2,075
Reputation Power: 250
Solution to Practice Problem 1...if anyone want's it..
import java.util.*;
class printAverage
{
public static void main (String [] args)
{
Scanner sc = new Scanner (System.in);
System.out.println ("Enter any 3 numbers");
int num1 = sc.nextInt();
int num2 = sc.nextInt();
int num3 = sc.nextInt();
int avg = (num1+num2+num3) / 3;
System.out.println ("The average is: " + avg);
}
}
- 0useful
- 0not useful
#33. Posted:
Status: Offline
Joined: Jan 14, 201113Year Member
Posts: 432
Reputation Power: 17
Status: Offline
Joined: Jan 14, 201113Year Member
Posts: 432
Reputation Power: 17
Copy and paste....
- 1useful
- 1not useful
#34. Posted:
Status: Offline
Joined: Feb 17, 201113Year Member
Posts: 911
Reputation Power: 49
Status: Offline
Joined: Feb 17, 201113Year Member
Posts: 911
Reputation Power: 49
Very detailed, should be stickied! Saw this a long time ago, thought I would bring it back up to the front page
- 0useful
- 1not useful
#35. Posted:
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
Oreogasm wrote Very detailed, should be stickied! Saw this a long time ago, thought I would bring it back up to the front page
Why bump a 2 month old copy and paste? Thought we left this topic behind.
- 0useful
- 0not useful
#36. Posted:
Status: Offline
Joined: Jun 24, 201113Year Member
Posts: 44
Reputation Power: 1
Status: Offline
Joined: Jun 24, 201113Year Member
Posts: 44
Reputation Power: 1
This is very helpful, and will help a lot of members. Nice job!
~DeGennaro
~DeGennaro
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.