thanks my dear i use your way and it successful thanks for you ...
Type: Posts; User: thecraetiveman
thanks my dear i use your way and it successful thanks for you ...
thank you very math my friend ok i will do it
it look show the result and close directly >>
is it ok now ?
import java.util.Scanner;
public class a{
public static void main(String[] args){
for (double i = 0; i <9; i++) {
Scanner scan=new Scanner(System.in);
4 errors found:
File: C:\Users\Quick age\Desktop\a.java [line: 26]
Error: C:\Users\Quick age\Desktop\a.java:26: 'else' without 'if'
File: C:\Users\Quick age\Desktop\a.java [line: 27]
Error:...
it is not working
import java.util.Scanner;
public class a{
public static void main(String[] args){
for (double i = 0; i <9; i++) {
Scanner scan=new Scanner(System.in);
where i have to put System.exit(0);?
thanks my frend but how i can stop the program when i unter negative number ?>
because if it is less than zero it will equal negative
can you help me to done this step if you allow ?
i have to done the program
if ( r < o)
System.out.println("r is negative");
else
System.out.println("positive");
1 error found:
File: C:\Users\Quick age\Desktop\a.java [line: 21]
Error: C:\Users\Quick age\Desktop\a.java:21: cannot find symbol
symbol : variable o
location: class a
the console :...
import java.util.Scanner;
public class a{
public static void main(String[] args){
for (double i = 0; i <9; i++) {
Scanner scan=new Scanner(System.in);
double a,r,p;
ok where i have to but the if statement and why it is not working with my?
mport java.util.Scanner;
public class a{
public static void main(String[] args){
for (double i = 0; i <9; i++) {
if (r < o)
System.out.println("r is negative");
else
...
please can you solve the problem for me i have to end it before i sleep i have to submit it tomorrow ? the time with me now 11:47 pm
import java.util.Scanner;
public class ty {
public static void main(String[] args){
Scanner input= new Scanner(System.in);
System.out.println("Enter a number");
int...
sorry i am not have any idea ?
can you explain more?
i dont know can you help me ?
where is my mistake exactly?
i use this but am still have a problem
for (double i = 0; i < 9; i++) {
if (i<0)
System.out.println("print i");
else
System.exit(0);
i am still can not stop the program
import java.util.Scanner;
public class a{
public static void main(String[] args){
for (double i = 0; i < 9; i++) {
if (i<0)
System.exit(0);
thanks for your reply ,
i see the link but i am still not able to solve this problem The program should use both method and display the two results for each radius that is input until a negative...
hi, sorry i answer late,
i try to do the program but i have problem with the loop
mport java.util.Scanner;
public class a{
public static void main(String[] args){
Scanner scan=new...
ok, can you solve the question for me and i will understand it
sorry for this request but i have a lot of home works and i have to done a research and i have midterm and quize can you help me ?
i know how i can write a java program but i am not understand how i can solve this question
i think i have to use scanner and loop an method but i am confusing because of the stress of the study . ...
i do not know who i can solve this question can you help me?