- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 2
Re:
hi everyone, i am very new in java. can anyone help me to solve the following problem: A school conducts a 100 mark exam for its student and grades them as follows: Grade: Grade A: Marks>75 Grade B: 75>Marks>60 Grade C: 60>Marks>50 Grade D: 50>Marks>40 Write ajava program to calculate … |
|
Print stars in console like this using java ? ......* .....*.* ... *...* .. *.....* . *.......* ...*.....* ... *...* .....*.* ......* dot = spaces [B]look to my code just i need to print border not filled shape[/B] [CODE]import java.util.Scanner; public class Stars { public static void main( String args[] … |
|
[CODE]import java.util.Scanner; public class Draw { public static void display1 () { System.out.println("============================================="); System.out.println("| SELECTION |"); System.out.println("|===========================================|"); System.out.println("| Option : |"); System.out.println("| 0: Exit |"); System.out.println("| 1: Empty Shape |"); System.out.println("| 2: Filled Shape |"); System.out.println("============================================="); } public static void main(String[] args) { Scanner input = new Scanner (System.in); int … |
|
i need to print stars on console like this * * * * * * * * * $ $ $ $ $ $ * * $ $ $ $ $ $ * * $ $ $ $ $ $ * * $ $ $ $ $ $ * * … |
|
Re:
hi ya! really hope u can help! ive taken on a computer course that is meant to teach me the basics of computing, and while i can understad databases and html, for some reason they have given us object orientated programming and i havent a clue!! ive spend alot of … |
|
[CODE]import java.util.Scanner; public class Draw { public static void main(String[] args) { Scanner input = new Scanner (System.in); int width = 0; int height = 0; int select; System.out.print("Enter Width :"); width = input.nextInt(); System.out.print("Enter Height :"); height = input.nextInt(); System.out.println("============================================="); System.out.println("| SELECTION |"); System.out.println("|===========================================|"); System.out.println("| Option : |"); System.out.println("| … |
|
Please look at the code below and follow with my questions: import java.util.Scanner; public class CaseGrade { public static void main(String[] args) { Scanner input = new Scanner (System.in); String name = null ; int grade = 0; String exellent = "Exellent :"; String veryGgood ="Very Good :"; String good="Good … |
|
[B][COLOR="Red"]mmm.... i think its good [/COLOR][/B] [CODE] import java.util.Scanner; public class Studentgrade { public static void main(String[] args) { int num_of_student ; Scanner input = new Scanner(System.in); System.out.println("Enter the number of Student :"); num_of_student = input.nextInt(); String []name = new String [num_of_student] ; int array[] = new int [num_of_student]; String … |
|
[CODE]public class Getnumbers { private int num1; private int num2; public int getNum1() { return num1; } public void setNum1(int num1) { this.num1 = num1; } public int getNum2() { return num2; } public void setNum2(int num2) { this.num2 = num2; } } [/CODE] [CODE]import java.util.Scanner; public class Case { … |
|
[code=java]import java.util.Scanner; public class Exam_Test { public static void main(String args[]) { Scanner input =new Scanner(System.in); int number; System.out.println(" Enter a Number : "); number = input.nextInt(); for (int i = 0; i <= number; i+=2) { for (int j = number; j >= i; j--) { System.out.print(" "); if … |