User Profile

Collapse

Profile Sidebar

Collapse
paradox6996
paradox6996
Last Activity: Feb 18 '09, 05:38 AM
Joined: Jul 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • paradox6996
    replied to Opensource Projects
    It's not that easy to find ones that take beginner programmers. I googled some but only found ones where you needed to be at least intermediate or advanced programmers. That's why I asked for ones that took beginner programmers.
    See more | Go to post

    Leave a comment:


  • paradox6996
    started a topic Opensource Projects

    Opensource Projects

    I've never participated in an Opensource project and wanted to start to better my programming and linux skills. I wanted to join one that accepted beginner programmers. If anyone knows of such projects or places to go to see current projects, please post.

    Paradox(>")>
    See more | Go to post

  • paradox6996
    replied to It won't compile
    in Java
    I figured it out last night I have Gentoo linux and somehow blackdown JDK was selected as the compiler and it doesn't support static imports. I selected JDK 1.6 and all worked fine. Thanx for the replies though.

    Paradox(>")>
    See more | Go to post

    Leave a comment:


  • paradox6996
    started a topic It won't compile
    in Java

    It won't compile

    Here is the error:

    01C.java
    Program01C.java :9: <identifier> expected
    import static java.lang.Math. *;
    ^
    Program01C.java :9: '.' expected
    import static java.lang.Math. *;
    ^
    2 errors

    Here is the code:

    Code:
    //Robert Burns
    //Feb. 5, 2009
    //paradox6996@gmail.com
    //Program01B-Calculates total average of test
    ...
    See more | Go to post

  • paradox6996
    replied to Java precision
    in Java
    I know I took it out to get this:

    Code:
    //Robert Burns
    //Feb. 5, 2009
    //paradox6996@gmail.com
    //Program01B-Calculates total average of test scores
    
    import java.util.Scanner;
    
    //Math class so I can truncate doubles to get nice looking decimals 
    import static java.lang.Math.*;
    
    public class Program01B {
     
     public static void main(String[] args) {
    ...
    See more | Go to post

    Leave a comment:


  • paradox6996
    replied to Java precision
    in Java
    I changed the code to this:

    Code:
    //Robert Burns
    //Feb. 5, 2009
    //paradox6996@gmail.com
    //Program01B-Calculates total average of test scores
    
    import java.util.Scanner;
    import static java.lang.Math.*;
    
    public class Program01B {
     
     public static void main(String[] args) {
    
      double testScore01, testScore02, testScore03, totalAverage, totalAveragemod;
    ...
    See more | Go to post

    Leave a comment:


  • paradox6996
    started a topic Java precision
    in Java

    Java precision

    [code=java]import java.util.Scann er;

    public class Program01C
    {

    public static void main(String[] args)
    {
    double purchase, totalTax, salesTax, countyTax, total;
    salesTax = 0.04;
    countyTax = 0.02;


    Scanner keyboard = new Scanner(System. in);
    System.out.prin t("Enter the amount of purchase: ");
    purchase = keyboard.nextIn t();

    ...
    See more | Go to post
    Last edited by pbmods; Feb 6 '09, 03:55 AM. Reason: Added CODE tags.

  • paradox6996
    started a topic Questions about OOP books

    Questions about OOP books

    I was looking today at some Object Oriented Programming books today and wasn't sure which was good for what I wanted to learn. I'm currently in school for CSC and have taken programming classes; I already know the basics and want to further my knowledge into advanced OOP. I think learning advanced OOP techniques is learning concepts like encapsulation, inheritance, modularity, and polymorphism, etc... If I'm wrong then correct me. If this is what...
    See more | Go to post

  • paradox6996
    replied to Wanting to Advance
    in C
    kool thanx guys, your comments are greatly valued. I thought my road to a CSC degree would be a lot longer then I thought. I'm gonna work on integrating classes to work with each other, and make them as secure as possible. I figure this would be my next step in programming. If I have any more questions I'll post them and again thank you for the help....
    See more | Go to post

    Leave a comment:


  • paradox6996
    replied to Wanting to Advance
    in C
    That helps me out, I guess I should write programs that utilize other classes to complete their objectives. I've written one at the end of my Java class. Anyone have any suggestions on an immediate to advanced book, pdf, article, etc... for C++. Free would be great since I'm a poor college student but I'll buy it if I have too.

    P.S If anyone knows anything about Computer Science majors it would be real helpful to tell me what I can...
    See more | Go to post

    Leave a comment:


  • paradox6996
    replied to Wanting to Advance
    in C
    just wondering if there is more advanced stuff to programming, besides what I mentioned about If/else statements, loops, arrays, get/ready cmds. I always thought there was something more complexed, if not then I'm way ahead then I thought. Either way I'll take your advice on the open source project, I always have fun programming....
    See more | Go to post

    Leave a comment:


  • paradox6996
    started a topic Wanting to Advance
    in C

    Wanting to Advance

    I'm going to school for CSC, and wanted to get ahead of my future classes in my off time. I have programming experience such as Beginner Java, VB.Net, and C++. Next fall I'm going to a 4 year university to finish my CSC degree and wanted to get a head start. My programming experience, goes as far as: get/ready cmds, arrays, making simple methods and classes, loops, if/else statements, etc.. I wanted to further my knowledge in programming and was...
    See more | Go to post

  • paradox6996
    started a topic Consumer loan equation
    in C

    Consumer loan equation

    Ok I've tried to google this but no luck their. I'm writing a program that calculates someones consumer loan. If we use $1000 as principle, and 15%(.15) as the rate and the duration of the loan is 18 months, you would in the end only get $775 because the the interest is deducted from the principle leaving you with 775$ from $1000. The user enters their own principle, rate, and time, and the program is suppose to calculate how much to request by adding...
    See more | Go to post

  • paradox6996
    replied to C++ function logic problem!
    in C
    ok sweet this worked perfect:

    cout.setf(ios:: fixed);
    cout.setf(ios:: showpoint);
    cout.precision( 14);

    Cereal_Total = ((Cereal_Weight * 2.83495231) / 100000)

    but is their a way to make the precision work for the above line, and not for this one:

    Total_Boxes = 35273.92 / Cereal_Weight.

    Oh and for anyone that wanted to know doing this:

    Cereal_Total...
    See more | Go to post

    Leave a comment:


  • paradox6996
    replied to C++ function logic problem!
    in C
    Boxes = how many boxes of X weight in ounces it takes to fill a metric ton(so how many boxes it would take to weigh a metric ton if the box weighed ten ounces) but thats right so im not worried. And on my last reply I forgot to add that that number I get is when I replace 10 with x as u say so 10 / 35273.92 that is the number I want to print out longer....
    See more | Go to post

    Leave a comment:


  • paradox6996
    replied to C++ function logic problem!
    in C
    #include <iostream>
    using namespace std;

    int main()
    {
    double Cereal_Weight, Cereal_Total, Total_Boxes;
    char answer;
    do
    {
    cout << "Welcome to the cereal converter program.\n";
    cout << "Enter the weight in ounces of the cereal box.\n";
    cin >> Cereal_Weight;

    ...
    See more | Go to post

    Leave a comment:


  • paradox6996
    replied to C++ function logic problem!
    in C
    Anyone that could help would be great thank you!
    See more | Go to post

    Leave a comment:


  • paradox6996
    replied to C++ function logic problem!
    in C
    I don't know if I know how to do it mathematically, like I said I'm not good at converting weights and I haven't done it for years. I've tried googling it but all I get is converter's that convert it for me, so if someone can tell me if my logic in my program is correct: 35,273.92 ounces in a metric ton / by the number entered by the user.

    Cereal_Total = Cereal_Weight / 35,273.92;

    Is the logic correct if not can you...
    See more | Go to post

    Leave a comment:


  • paradox6996
    started a topic C++ function logic problem!
    in C

    C++ function logic problem!

    I'm trying to convert someones cereal weight from ounces to metric tons, and how many boxes it would take to make a metric ton. I suck at converting weights and I wanted to know if the logic in my function is correct and is converting the weights like it should be. If it is not correct can someone please tell me the syntax and function to do this. Thank You!

    #include <iostream>
    using namespace std;

    int main...
    See more | Go to post

  • paradox6996
    replied to Execution Error
    in C
    I tried the get char(); but it didn't work idk... I tried this:

    cin.sync();
    cin.get();

    and it works fine now thank you!
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...