User Profile

Collapse

Profile Sidebar

Collapse
hebaa
hebaa
Last Activity: Oct 23 '07, 10:49 AM
Joined: Oct 2 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hebaa
    replied to R Project
    in Java
    Oh Thanks for the kind help


    Heba
    See more | Go to post

    Leave a comment:


  • hebaa
    replied to R Project
    in Java
    R is a language and environment for statistical computing and graphics
    Acctually i cant find any1 to help me, NO ONE till now knows it
    See more | Go to post

    Leave a comment:


  • hebaa
    started a topic R Project
    in Java

    R Project

    R Project
    --------------------------------------------------------------------------------

    Guys I just wanna ask where can i find help in R Project???

    Please need help ASAP

    Thanks
    Heba
    See more | Go to post

  • hebaa
    started a topic R Project

    R Project

    Guys I just wanna ask where can i find help in R Project???

    Please need help ASAP

    Thanks
    Heba
    See more | Go to post

  • hebaa
    replied to Calculator program
    in Java
    Thank you everybody iam done with my code.

    Heba :) thankssss
    See more | Go to post

    Leave a comment:


  • hebaa
    replied to Calculator program
    in Java
    String oper=in.readLin e();


    if(oper!="+"||o per!="-"||oper!="*"||o per!="/")
    System.out.prin tln("Please Enter a valid operation");

    the condition does not work...
    what to do?
    See more | Go to post

    Leave a comment:


  • hebaa
    replied to Calculator program
    in Java
    i've tried
    int x = Integer.parseIn t(oper);

    but it doesnt fix my problem...
    See more | Go to post

    Leave a comment:


  • hebaa
    replied to Calculator program
    in Java
    I still dont know how to convert from string to int to be able to use a method that takes 2 int's as parameters.

    public static int sum(int num1 , int num2){
    return num1+num2;}


    that's the method

    in da main:
    i tried:
    String oper=in.readLin e();
    String num2=in.readLin e();
    System.out.prin tln("= ");

    Integer.getInte ger(oper);...
    See more | Go to post

    Leave a comment:


  • hebaa
    replied to Calculator program
    in Java
    switch(oper){
    case '+':
    System.out.prin tln(sum(num1,nu m2));break;
    case '-':
    System.out.prin tln(min(num1,nu m2));break;
    case '*':
    System.out.prin tln(multiply(nu m1,num2));break ;
    case '/':
    System.out.prin tln(divide(num1 ,num2));break;
    default:
    System.out.prin tln("Please Enter a valide operation");

    if(s!=readLine( )){...
    See more | Go to post

    Leave a comment:


  • hebaa
    replied to Calculator program
    in Java
    I dont know how to convert from String to int to be able to use the methos od summation and ...the others.

    String num1=in.readLin e();
    when i try the casting always says; cannot convert from string to int
    See more | Go to post

    Leave a comment:


  • hebaa
    replied to Calculator program
    in Java
    Yes, I've started but i cant make the program read the 2nd number, the program just ends...


    Would you help?


    [CODE=java]package Assignments;

    import java.io.Buffere dReader;
    import java.io.IOExcep tion;
    //import java.io.InputSt ream;
    import java.io.InputSt reamReader;

    public class Assignment1 {


    public static int sum(int x , int y){...
    See more | Go to post
    Last edited by Ganon11; Oct 2 '07, 02:44 AM. Reason: Please use the [CODE] tags provided.

    Leave a comment:


  • hebaa
    started a topic Calculator program
    in Java

    Calculator program

    i want to make a java program (Netbeans) as a calculator that reads from the user 2 numbers and the user choose an operation from + - / * and the results appears with handling exceptions


    Plzz reply me ASAP

    Heba
    Egypt
    Thanksssssss
    See more | Go to post
No activity results to display
Show More
Working...