Though I do have another question: How do I call a method in a switch statement?
switch(iMenuInput1)
{
case 1:
areaCircle(radius);
System.out.print("Enter the radius: ");...
Type: Posts; User: CrimsonFlash
Though I do have another question: How do I call a method in a switch statement?
switch(iMenuInput1)
{
case 1:
areaCircle(radius);
System.out.print("Enter the radius: ");...
....I understand now. Thanks a bunch! I believe I'm a bit too dense for Java coding as a career.
In the menu method, I renamed ImenuInput to ImenuInput and declared ImenuInput2 =1 + 2 and then declared iMenuInput1 = 3. It doesn't work needless to say.
But my menu method doesn't contain any parameters..... how would I do it in this case?
Thank you! I'll try that; if I have anymore questions I'll know who to ask.
But I'm storing it in the variable iMenuInput, right? I'm confused, and I'm sure I'm confusing you as well. If you could give me an example of what you mean on which line, I'd appreciate it.
How would I store this value in a variable? I'm completely new to Java in my 5th week of class, sorry for seeming ignorant.
import java.util.Scanner;
public class Quiz7
{
public static void main(String[] args)
{
Scanner kb1 = new Scanner(System.in);
String programName;
String dueDate;
int iMenuInput =...