Question:
Please help me write the Java version of the following pseudocode: If the student's grade is between 60 and 70?
Kelsey
2010-06-19 13:44:28 UTC
Write the Java version of the following pseudocode: If the student's grade is between 60 and 70 (inclusive), print "C"
Three answers:
clayscientist
2010-06-19 13:50:52 UTC
well i assume u know the basic codes that needs to come b4 like the include std.io and so forth so here goes the rest



double grade; // grade is variable to hold a grade



if (grade>=60&&grade<=70)

System.out.printf ("C");
ewa
2016-10-22 05:08:50 UTC
Tee Hee, Brutus! Hurled biscuits and threw the java. Drake Circumcised the international with a a hundred-foot clipper. MUAHAHAAAA!! i think of I basically broke something giggling. those have been all magnificent, thank you plenty. I used to have a collection of those yet i don't comprehend what I did with them... saving those, and supplying you with a megastar!!
Kenneth
2010-06-19 13:50:17 UTC
if ((grade >= 60) && (grade <= 70))

{System.out.println("C"); }


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...