Oh Thanks for the kind help
Heba
User Profile
Collapse
-
R is a language and environment for statistical computing and graphics
Acctually i cant find any1 to help me, NO ONE till now knows itLeave a comment:
-
R Project
R Project
--------------------------------------------------------------------------------
Guys I just wanna ask where can i find help in R Project???
Please need help ASAP
Thanks
Heba -
R Project
Guys I just wanna ask where can i find help in R Project???
Please need help ASAP
Thanks
Heba -
-
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?Leave a comment:
-
i've tried
int x = Integer.parseIn t(oper);
but it doesnt fix my problem...Leave a comment:
-
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);...Leave a comment:
-
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( )){...Leave a comment:
-
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 intLeave a comment:
-
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){...Leave a comment:
-
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
No activity results to display
Show More
Leave a comment: