I wrote an exam and this was one of the quest can someone please help.thx

The International Cricket Council has employed you to write a JAVA APPLICATION program to calculate batting averages. The Batsman with the highest batting average is going to get the BATSMAN OF THE YEAR AWARD.
Write a java program that
�     uses an array to store 5 batting scores
�     has a method to calculate the batting average and
�     then creates 2 objects (i.e. 2 batsman) and determine which batsman has the higher average (this will be done in the main program).
Ensure that your program is properly structured.
No unnecessary code to be done in the main method.
Enter 5 batting scores for Batsman 1 [20, 30, 20, 30, 20]
Average : 60
Enter batting scores for Batsman 2 [20, 40, 20, 40, 10]
Average: 65
BATSMAN 2 IS BATSMAN OF THE YEAR!
Save this application program as: BATSMAN Java

Hi Shri-Babaji, This is one of the question which I
answered in my exams and was asking you guys sothat I
could verify how I had fared. I am still new at Java
and thought I could ask but if that what you guys
think than sorry for asking!Ok, now you're saying you 'answered' it in the exam, or you are the one creating an exam? If you're creating an exam, I already tried to apologize for my remarks, but if in fact you are 'answering' an exam, then my original reply still holds, and this would be speaking for most of the community on these forums.

Similar Messages

  • So i have 29 albums and my computer says it has 2.55gb on the itunes, and im planing on getting a iphone 5 that has 16gb or 32gb and idk which one to get? Can someone please help me out!!!!!!!!!!!

    So i have 29 albums and my computer says it has 2.55gb on the itunes, and im planing on getting a iphone 5 that has 16gb or 32gb and idk which one to get?  Idk but i just need to know how much storage  that can hold 2.55 gb of albums and rest of the apps and pic i gonna put on this iphone 5 im getting! please help!!!!! (16gb or 32gb?) If maybe can i get some tips about Storage!

    I certainly owuld not get the 16 Gb.  My old phone had 32 Gb and it was pretty much full.  I just depends on what you wan tto place on it in the way music, apps, videos etc

  • I created an iMovie. When I try to export it crashes. Can any one walk me through the problem. In 3 hours, my mom's 80th b'day is taking place and this was one of the gifts.

    I created an iMovie. When I try to export it crashes. Can any one walk me through the problem. In 3 hours, my mom's 80th b'day is taking place and this was one of the gifts.

    All of the Spry files are missing and the basic_fs.css.  It's a long list.  If you use Chrome or Safari, you can view source (Safari) or Inspect Element (Chrome) and under Resources you will see the missing files highlighted. 

  • Heartbleed virus/vulnerability-I have been hearing about the "heartbleed vulnerability" and told to change all my passwords. Does this apply to Macs? I thought they could not get viruses and this was one of the reasons I got one.

    I have been hearing about the "heartbleed vulnerability" and told to change all my passwords. Does this apply to Macs? I thought they could not get viruses and this was one of the reasons I got one.

    See What is Heartbleed?
    (Fair disclosure: The Safe Mac is my site, and contains a Donate button, so I may receive compensation for providing links to The Safe Mac. Donations are not required.)

  • Iv just introduced midi into my studio im running logic9 and have brought Midiman Aniversary 4in 4 out to my set up midi is running well but i cannot seem to mute or solo midi regions an isolate them from the audio can someone please help me Murray.

    Iv just introduced midi into my studio im running logic9 and have brought Midiman Aniversary 4in 4 out to my set up midi is running well but i cannot seem to mute or solo midi regions an isolate them from the audio can someone please help me Murray.

    Hi Charlotte,
    You don't say what your version of Windows you have. Assuming XP, go to Start | Run, type DXDIAG and click OK. Click the Sound tab and run the tests to eliminate a hardware problem first of all. If you don't hear anything, check your cables first of all. Also make sure "Mute" isn't checkmarked in your sound setup. You'll find that in Windows Control Panel.
    Which browser do you use? If you have Firefox 4, sign up to the HTML5 trial @ http://www.youtube.com/html5
    HTML5 is the latest video standard and doesn't require Flash player. Google is in the process of converting all its files to work with the new format. It may solve you problem. If you don't have Firefox 4, you can get it from here: http://www.mozilla.com/en-US/firefox/fx/
    IE8 doesn't support HTML5.
    To clean out your temp files, go to Start | Run, type: CLEANMGR and click OK. Click OK again to start the utility. Tick all the boxes except "Compress old files" because the latter takes too long, and then click OK. You can run this utility any time you wish by the way.
    The above steps will hopefully fix your problem. If not, post here again please.

  • My iphone 4 is taking forever to sync...I let it sync all night and only completed about 1/4 of of the songs downloaded. Apps seem to be fine. I have tried restoring it and that didn't do anything. Can someone please help?

    My iphone 4 is taking forever to sync...I let it sync all night and only completed about 1/4 of of the songs downloaded. Apps seem to be fine. I have tried restoring it and that didn't do anything. Can someone please help?

    how many songs are syncing cuz i only have at most 200 or so and it takes a while so it might be how many songs are syncing to the device

  • I can log onto Facebook ,and my yahoo mail but the page doesn't load up all the way.My messages and various things aren't showing up.Can someone please help?

    I can log into facebook and yahoo but the will not finish loading up, I had this problem with 1e9 but i switched to firefox 5.0.1 and the problem with ie9 was it said my javascript was turned off, but i had it turned on.Thats when I switched to firefox.I am running this on a windows vista home premium system. Can someone please help me?

    You may have to open Mail, go to the upper left corner of the screen and click on the word Mail, open Preferences, click on Accounts, and make sure your Gmail account is still fully set up properly with all proper account and incoming and outgoing Mail Servers properly completed.  When you added iCloud capability it may have upset the account settings for Gmail.
    Hope this helps

  • For the last month or so my icloud won't back up, it keeps telling me that there is too much storage and I need to delete some data. But I have deleted between 3-400 photos and it is still saying the same, can anyone please help

    For the last month or so my icloud won't back up, it keeps telling me that there is too much storage and I need to delete some data. But I have deleted between 3-400 photos and it is still saying the same, can anyone please help

    If they were deleted from your camera roll that should have resulted in a corresponding decrease in the estimated size of your next backup.
    If it's still saying that you don't have enough storage to back up, read through this article: http://support.apple.com/kb/ht4847.  It provides some suggestions for reducing your iCloud storage, such as deleting unneeded email. 
    The other area to look at is your text messages.  These are included in the backup.  If you have lots of photos and videos attached to your messages, that can significantly increase the size of your backup.  If that's the case, deleting these may make a big difference.

  • I set up my mom's new ipod touch with the wrong email in icloud by mistake and i cant verify the account, can someone please help me??

    I set up my mom's new ipod touch and I dont know how, but i used her password as the email on a mistake and i can't verify the icloud account....can someone please help me???????

    Thank you for replying.    Yes I deleted the old email address..   

  • I lost my bookmark list where the dropdown doesnt work. Same goes for the webpage address tab where it just does not save. When I try to bookmark a new page after clicking "Bookmark this page", there was no response too. Can someone please help me???

    It was still functioning last night and before I close the firefox window, the problem started. The problem persist until now.
    1. Bookmark - tried to check the "help" list for lost bookmark but none of them seems to suit the problem i'm facing. The menu tab is there, but when i click on "Bookmarks", my previous bookmark list is not there. When I try to bookmark a new page, there is no window popping up (usually there is a small window pop-up to ask for the label of the website to be bookmarked).
    2. The website address tab - usually we have a list of website that we usually visit so we just need to click on the arrow and click on the webpage that we want to visit. But now, I have to type the website address every single time. There is no drop down when i click on the arrow.
    Can someone tell me what is wrong with it and please help me to solve this problem. THANK YOU VERY MUCH!!!

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Newbie here. Moderator PhHein closed my discussion, needed help on finding Java 7 button to click on. Started another discusion and this was one of the answers.

    Being new to the site, by accident I put my question about updating something in the wrong spot. I put this question in the topic Community Feedback and Suggestions (Do Not Post Product-Related Questions Here
    I posted my question where I throught the Community could give me feedback and suggestions. I am not an IT person, I did not know that upgrading something would be considered writing about a product. Again, I am not a IT person,
    instead was a graphic designer so I do not think like IT people. The moderator PhHein closed the thread because of my mistake and no one directed me to the right spot. It is frustrating enough not to be able to update something.
    Then I get tossed to the wind by Moderator PhHein.
    I started another discussion and was treated so nice, ha. I got bashed by Billy V's, you can see his comment in the Orange type below.
    I do not understand the rudeness of the moderators and other posters.
    This is my last post and I no longer want help. I won't be updating Java 7. I thought I would get a hello, welcome, and a polite answer. This is not a site that I consider people friendly.
    I did not get any response to my reporting what Billy said as abuse. I guess I just wanted to let some people know.
    Is this a site where people bash instead of giving you help? L
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    created by BillyVerreynne in Community Feedback and Suggestions (Do Not Post Product-Related Questions Here
    "Well, I am very unhappy that you think your time is too valuable to browse through English (clicking HOME on the tab at the top of the page) and find a Java forum for your post about Java..
    And instead waste our time by asking a product question in a forum that EXPLICITLY states Do Not Post Product-Related Questions Here."
    Perhaps your inability to install Java (finding that shiny install button to click and have fun) is related to your inability to read and comprehend simple instructions? Like NOT posting product questions in this forum space??"

    ... then you post this stream of unconciousness to the wrong place as well.
    Your irritation has no place in this Java programming space.
    I suggest you spend more time reading the contents of the web site.
    This new post is also locked.

  • Hi can some one please help my screen size has changed its self  and is now larger than the screen can someone please let me know if this is a bug? if so how do i fix this? or am i just a nonce? if so how do i resolve this thanks in advance.

    sorry Q is in the tittle having big issues with my screen so its hard to use

    Apple menu -> System Preferences -> Displays
    Apple menu -> System Preferences -> Universal Access
    are both places where screen size may change inadvertantly.  Use higher resolutions, but lower screen zoom.

  • TS1368 I forgot my answers to my security questions and i don't remember the answers can you please help me cause i want to download music to my new iphone 5 please help me i have money on my itune account

    I put money on my itunes account ever since i bought the iphone 5 i havn't been able to purchase any music because they ask for some answers for my sercurtiy questions and i forgot the answers thats why im trying to contact you to see if you can help me

    Hmm....and you've already tried resetting it, right? Hold down center and menu for 5 seconds (or three, i don't remember which)?

  • I updated my Apple TV to 5.3 and now it doesn't work. It only shows a computer and General settings to choose from. Can someone please help me.

     

    Welcome to the Apple Community.
    That tells you it's not connected to the internet properly.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router.
    Reset the Apple TV (Settings > General > Reset > Reset all settings)
    Restore the Apple TV (Settings > General > Reset > Restore)

  • I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect to my MacBook it erases everything on had on there. Can someone please help with this problem?

    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.

    dwgar1322 wrote:
    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.
    Yes, you have WD software installed  REMOVE IT !! 
    WD has warned its customers about their huge mistake that their software doesnt work on Mavericks and causes data loss.
    (also dont use WD drives anymore)
    Read all about it here:
    https://discussions.apple.com/thread/5475136?start=255&tstart=0
    See their website on removing the destructive WD software here:
    http://community.wd.com/t5/External-Drives-for-Mac/External-Drives-for-Mac-Exper iencing-Data-Loss-with-Maverick-OS/td-p/613775
    Western Digital External Hard Drives Experiencing Data Loss On OS X Mavericks
    http://www.cultofmac.com/252826/western-digital-external-hard-drives-experiencin g-data-loss-on-os-x-mavericks/

Maybe you are looking for

  • How do I get my contacts from iphone3 to my iphone4 - without icloud

    Im trying to get my contacts from my iphone 3G iOS 4.2.1 to my computer so I can then put them onto my new iphone 4. I have now autherised this computer to my iphone 3G but cant work out how to move the contacts. the ony thing I can see is the sync c

  • XML in PDF files

    Hi, Does anybody knows if there's a commonly used way to create a PDF file that also contains XML info without using forms? I've been searching in Adobe site, but I still have doubts. I know that there's something like .xdp files and another thing (X

  • Flash object not represented in Design view

    When I had CS3 and I put in a flash object into my design there was a place holder or grey box that represented where teh flash would be. I no longer see it anymore and I am missing it. Then best i can do is get one of those little yellow icons that

  • Importing/exporting Moto V265 photos into iPhoto

    Hi, I just got a Motorola V265 cell phone. The phone have a small camera in it. I'd like to know if there is a way to import the cell photos into iPhoto (by using an utility) ? Also, since it is possible to put pictures on the phone as backdrop, I'd

  • SAP functional Career suggestion

    Dear Gurus, Pls suggest me on the question related to my career. I have been working on SAP BIBO for 5 yrs as a Technical Consultant. I am interested to move into Functional areas where I will get the benefits of my current skills. Please suggest me