Check for the country first in the file, once it found, assign the values for country, capital and population from that line, then make the display out of the loop
Type: Posts; User: barhoom
Check for the country first in the file, once it found, assign the values for country, capital and population from that line, then make the display out of the loop
Your question is asking convert Celsius from 40 to 30 and Fahrenheit from 120 to 30, right???
You need to use a for loop for your answer, call the method, get result, add it to string for the...
Maybe try using a do-while loop for the switch statement and update the value for (a) every time the user input a selection.
sorry couldn't understand your program but try what I said, might work.
You have a lot of mistakes in your program, I will go through 1 method and you figure the rest.
Your method call:
orgGrade(double orgGrade); // wrong method call
Correction:
First: your...