Click here to Skip to main content
15,792,609 members
Home / Discussions / Java
   

Java

 
GeneralRe: Using for loop create a bluej program for the question( https://1drv.ms/u/s! Ajrld_fzlfykhx8hc1sbkiufuc_p ) Pin
Richard MacCutchan27-Oct-20 8:10
mveRichard MacCutchan27-Oct-20 8:10 
AnswerRe: Write a program using for loop that computes sinx and cosx by using the following power series- sinx=x-x^3/3!+x^5/5!-x^7/7!+.... cosx=1-x^2/2!+x^4/4!-x^6/6!+..... Note-(Here ! is used for factorial of that number and ^ for "power of" Pin
Patrice T6-Nov-20 16:59
mvePatrice T6-Nov-20 16:59 
AnswerInterview Question locking for Ans Pin
sureshkct26-Oct-20 5:52
sureshkct26-Oct-20 5:52 
QuestionRe: Interview Question locking for Ans Pin
Richard MacCutchan26-Oct-20 6:34
mveRichard MacCutchan26-Oct-20 6:34 
GeneralRe: Interview Question locking for Ans Pin
Dave Kreskowiak27-Oct-20 7:54
mveDave Kreskowiak27-Oct-20 7:54 
QuestionJAVA IF ELSE STATEMENT (HELP ME) Pin
tomatomoa24-Oct-20 8:45
tomatomoa24-Oct-20 8:45 
AnswerRe: JAVA IF ELSE STATEMENT (HELP ME) Pin
Sandeep Mewara24-Oct-20 9:17
mveSandeep Mewara24-Oct-20 9:17 
GeneralRe: JAVA IF ELSE STATEMENT (HELP ME) Pin
tomatomoa3-Nov-20 3:18
tomatomoa3-Nov-20 3:18 
i tried but... im confused and slow and this def wrong

import java.util.*;
public class Mark {
public Mark () {
}

public static void main(String args[]) {
String grade;
int avgMark;
int studentMark;

Scanner input = new Scanner (System.in);

System.out.println(" Your Mark: ");
studentMark = input.nextInt();
avgMark = (total + finalMark) / 2
if(avgMark >= 80)
{
System.out.println("Grade: Excellent");
}

else if (avgMark >= 50 && avgMark <= 79) {
System.out.println(" Grade: Good ");
}

else if (avgMark <= 50) {
System.out.println(" Grade: Low ");
}


}
}
GeneralRe: JAVA IF ELSE STATEMENT (HELP ME) Pin
Richard MacCutchan3-Nov-20 4:11
mveRichard MacCutchan3-Nov-20 4:11 
QuestionLooking for a node.js developer for advanced disk wiping software (Almost complete) Pin
fixapc22-Oct-20 6:45
fixapc22-Oct-20 6:45 
AnswerRe: Looking for a node.js developer for advanced disk wiping software (Almost complete) Pin
Richard MacCutchan22-Oct-20 7:09
mveRichard MacCutchan22-Oct-20 7:09 
QuestionLog4j2 Migration Pin
Member 1496731916-Oct-20 5:21
Member 1496731916-Oct-20 5:21 
AnswerRe: Log4j2 Migration Pin
Richard MacCutchan16-Oct-20 5:38
mveRichard MacCutchan16-Oct-20 5:38 
QuestionJackson ObjectMapper valueToTree method also write valueType and integral but no actual value Pin
Manish K. Agarwal12-Oct-20 0:02
Manish K. Agarwal12-Oct-20 0:02 
QuestionWhy can't we make a sign up with phone number in android studio project Pin
Member 145474583-Oct-20 3:46
Member 145474583-Oct-20 3:46 
Question2d java graphics Pin
Member 149532531-Oct-20 3:07
Member 149532531-Oct-20 3:07 
AnswerRe: 2d java graphics Pin
CHill601-Oct-20 3:09
mveCHill601-Oct-20 3:09 
AnswerRe: 2d java graphics Pin
Richard MacCutchan1-Oct-20 4:02
mveRichard MacCutchan1-Oct-20 4:02 
Questionjava programmimg Pin
Member 1494135617-Sep-20 20:36
Member 1494135617-Sep-20 20:36 
AnswerRe: java programmimg Pin
Member 1494135617-Sep-20 20:39
Member 1494135617-Sep-20 20:39 
AnswerRe: java programmimg Pin
Sandeep Mewara17-Sep-20 21:23
mveSandeep Mewara17-Sep-20 21:23 
AnswerRe: java programmimg Pin
Gerry Schmitz18-Sep-20 1:44
mveGerry Schmitz18-Sep-20 1:44 
GeneralRe: java programmimg Pin
Dave Kreskowiak18-Sep-20 5:33
mveDave Kreskowiak18-Sep-20 5:33 
QuestionIntegrating keycloak with spring security Pin
arunken16-Sep-20 22:30
arunken16-Sep-20 22:30 
QuestionHelp me! Pin
Member 1492738231-Aug-20 9:30
Member 1492738231-Aug-20 9:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.