-that is what i done so far but i am lost now
import javax.swing.*;
class practice
{
public static void main(String[] args)
{
// declare array
//fill array with data for a week
int averagerainfall[]= new int[6];
String months[] = {"jan","feb","mar","apr","may","jun","ju鈥?br>
int s=0;
int x=0;
for (int i=0; i <averagerainfall.length; i++)
{
// input data and convert it to an Integer
s = Integer.parseInt(JOptionPane.showInputDi鈥?enter the average rainfall per month" +(i+1)));
averagerainfall[i] =s;
}
Displaydata (averagerainfall,months);
}// main
public static void Displaydata(int averagerainfall[],String months[] )
{
// declare variable
int max=0;
String x="";
for (int i=0; i<6; i++)
{
if (averagerainfall[i] >max)
{
max=averagerainfall[i];
x=months[i];
}
System.out.print(" The amount of rainfall is " + averagerainfall[i]+ ", on ");
System.out.println(months[i]
double x = "";
System.out.println("Average rainfall: " + (x/3) ;
} // end of method DisplayData
System.out.println( "The average rainfall is, " + max + " and that is on " + x );
// Display Results
} // end of main
} // end of class
and this is what the program should be like...
This program must contain at least two methods (main and one or more other method(s)). Write a method that inputs the length of rainfall in centimetres for each of the six months January to July into an array.
This array should be passed to another method averageRainfall which calculates the average rainfall for the six months. This method should return the average rainfall to the calling method where it is output to the screen..
help please need it ASAP.. thank you
mgrjk
-
2011年8月4日星期四
How can I make webpages fit my browser?
-I didn't change anything (no screen resolution or zooming in) and now facebook and some other webpages (not all) seem to be too wide for my screen. I have to scroll the bar sideways!
Where does the problem come from and how can I solve it?
Again, I didn't zoom in and I didn't change the screen resolution. I'm using Firefox 5.0 on Windows Vista. Screen res. 1366x768 (it has always been like that, didn't touch anything).
Thanks! :)just do CTRL plus + (hold ctrl as you hold +)
hit CTRL and 0 at the same time.
Or go to View->Zoom->Reset
Where does the problem come from and how can I solve it?
Again, I didn't zoom in and I didn't change the screen resolution. I'm using Firefox 5.0 on Windows Vista. Screen res. 1366x768 (it has always been like that, didn't touch anything).
Thanks! :)just do CTRL plus + (hold ctrl as you hold +)
hit CTRL and 0 at the same time.
Or go to View->Zoom->Reset
Is OX Lion worth getting?
-Yeah are these new features worth getting?In my opinion MAC in its whole is somewhat inadequate. But of course the ease of use does come into account here. In your case (considering you like extreme user-friendliness, actually having asked the question) OX Lion provides multiple more restricted features then the more cheaper models. If you want what they offer, get it, else do not.
It is but a simple question of if you need/want what is being offered.
It is but a simple question of if you need/want what is being offered.
How to learn to hack?
-i wanna learn it all how to program make apps whats the best wayyour going to need to learn programing and coding first their are schools for it so take them and you will be able to hack
First learn a low level programming language such as ASM or C, then you'll be half way through.
First learn a low level programming language such as ASM or C, then you'll be half way through.
Game Programming question.?
-I am looking to go to College for Programming (for video games). I am looking for someone who can provide me with a link and some information to find a program and a language I can learn in order to start practicing the programming language.
If it helps I am trying to get a job with Sony, or Microsoft. So if you can provide the common programming programs / languages for both of them it would be great.
Please do not just give me a language like C++, I need to know which programs to use in order to actually learn C++ if that makes sense.
Please provide links if you can to websites you know.
I am also looking for tutorial websites if you know any that can help me work on learning the programming language. Thanks!Visual C++ Express is the free edition of the Visual C++ IDE from Microsoft.
You can download it from Microsoft.com:
http://microsoft.com/visualstudio/en-us/鈥?/a>
To learn the language just Google "learn c++ game programming".
Here are some places to start:
http://cppgameprogramming.com/
http://toymaker.info/Games/html/beginner鈥?/a>
http://gameprogrammingstarttofinish.wazo鈥?/a>
If it helps I am trying to get a job with Sony, or Microsoft. So if you can provide the common programming programs / languages for both of them it would be great.
Please do not just give me a language like C++, I need to know which programs to use in order to actually learn C++ if that makes sense.
Please provide links if you can to websites you know.
I am also looking for tutorial websites if you know any that can help me work on learning the programming language. Thanks!Visual C++ Express is the free edition of the Visual C++ IDE from Microsoft.
You can download it from Microsoft.com:
http://microsoft.com/visualstudio/en-us/鈥?/a>
To learn the language just Google "learn c++ game programming".
Here are some places to start:
http://cppgameprogramming.com/
http://toymaker.info/Games/html/beginner鈥?/a>
http://gameprogrammingstarttofinish.wazo鈥?/a>
How do i alter this image? (printmaster)?
-I have printmaster platinum installed on a macbook, and i would like to alter this image...(move the position of the arm). I thought i could freeform crop around it and cut it and paste it in a different spot, but turns out that i can only do rectangular cropping, not freeform. is their any other way i could do this? or do i just have to purchase a new program? PLEASE HELPIt might be possible to do with printmaster (I don't own it, so I don't know its particular capabilities), but it most likely is really only designed to do basic editing like cropping and applying color effects. You'd probably be better off using Photoshop or the GIMP (which is free):
http://www.gimp.org/
Search it in Google or in spanish at www.aulafacil.com and go to Informatica-
http://www.gimp.org/
Search it in Google or in spanish at www.aulafacil.com and go to Informatica-
Computer Help...please? 2 questions :)?
-Skip to bottom for the main questions*
My laptop broke and my sister had her older one still (a few years old) she gave it to me. Her being her forgot the password, it was a few years ago so you cant really blame her. Me and my mom tried to guess a whooooole lot of things but we couldnt get in. She also got rid of the admin user account so that wasnt an option. Then we tried ophcrack, we had no clue what we were doing and failed completely..... My mom ended up uninstalling windows which, as far as I know, cleaned it out along with restarting the enttiiire computer? Since I live with my dad (divorced) and my mom doesnt have internet she kinda just gave it to me and told me to do what ever updates it needs/tells me to do and ill be set.... I KNOW ALMOST NOTHING ABOUT ACTUAL COMPUTERS THEMSELFS (only the stuff a normal teenagers knowledge expands to games, etc.) I dont know what this computer needs. Sooo if you know what I would need....Oh and the other problem im having is I have a router and it works/ed fine with my old laptop, sisters new laptop, ipodtouch, all that wirelessly (automatically)but when I press connect to a network it doesnt give me the option to connect to my wireless thing. The only way I can get internet with this laptop is if I have it connected to the router with one of those cords that look like the ones phones use and plug into the wall.
Question #1 - If windows was uninstalled and reinstalled what do I need to update/install?
Question #2 How do I setup wireless conection to an older version that I guess does not come with whats needed to do it and be able to not use a cord connected directly to the router?1 --
Software you might need to update are Microsoft Office and your web browsers. Usually when you reinstall your OS or use a ghost disk, you need to update those because those might not have been on the disk you use to reformat your computer. Your computer will update most other necessary files upon reboot.
2 --
Your computer needs to have installed a wireless internet card. You can find these at phone or computer stores. Also, there might be some drivers for your version of Windows that you would also need to download in order to access the internet wirelessly.A better place for questions like this might be in a forum where you can have some back and forth with people on the subject, yahoo answers is useless for technical questions, especially if we require clarification.
Be sure to say what operating system you're using if you want help.
My laptop broke and my sister had her older one still (a few years old) she gave it to me. Her being her forgot the password, it was a few years ago so you cant really blame her. Me and my mom tried to guess a whooooole lot of things but we couldnt get in. She also got rid of the admin user account so that wasnt an option. Then we tried ophcrack, we had no clue what we were doing and failed completely..... My mom ended up uninstalling windows which, as far as I know, cleaned it out along with restarting the enttiiire computer? Since I live with my dad (divorced) and my mom doesnt have internet she kinda just gave it to me and told me to do what ever updates it needs/tells me to do and ill be set.... I KNOW ALMOST NOTHING ABOUT ACTUAL COMPUTERS THEMSELFS (only the stuff a normal teenagers knowledge expands to games, etc.) I dont know what this computer needs. Sooo if you know what I would need....Oh and the other problem im having is I have a router and it works/ed fine with my old laptop, sisters new laptop, ipodtouch, all that wirelessly (automatically)but when I press connect to a network it doesnt give me the option to connect to my wireless thing. The only way I can get internet with this laptop is if I have it connected to the router with one of those cords that look like the ones phones use and plug into the wall.
Question #1 - If windows was uninstalled and reinstalled what do I need to update/install?
Question #2 How do I setup wireless conection to an older version that I guess does not come with whats needed to do it and be able to not use a cord connected directly to the router?1 --
Software you might need to update are Microsoft Office and your web browsers. Usually when you reinstall your OS or use a ghost disk, you need to update those because those might not have been on the disk you use to reformat your computer. Your computer will update most other necessary files upon reboot.
2 --
Your computer needs to have installed a wireless internet card. You can find these at phone or computer stores. Also, there might be some drivers for your version of Windows that you would also need to download in order to access the internet wirelessly.A better place for questions like this might be in a forum where you can have some back and forth with people on the subject, yahoo answers is useless for technical questions, especially if we require clarification.
Be sure to say what operating system you're using if you want help.
订阅:
博文 (Atom)