public class YourGrade
{
public static void main(String[] args)
{
int projectPoints = 89;
System.out.print("Your grade for this class is ");
System.out.print(projectPoints);
System.out.println("%");
}
}
?
Given the above code, what will be the output at the command prompt?
What will be an ideal response?
Output will be as follows:Your grade for this class is 89%A blank line will follow the output.
Computer Science & Information Technology
You might also like to view...
To get to the "Add a Printer" Wizard in Windows XP with the Start menu set to Windows XP mode, you would:
a. Click Start | Control Panel | Printers and Faxes | Add a Printer b. Click Start | Settings | Printers and Faxes | Add a Printer c. Click Start | All Programs | Add a Printer d. Right-click My computer and choose the Add a Printer icon
Computer Science & Information Technology
What is the file containing the program called after it has been translated into machine language?
What will be an ideal response?
Computer Science & Information Technology