Help plz just for a project...

can some1 explain this?
public class Grading System{
     public void get_GradeEquivalent(String temp_grade){
     int grade= Integer.parse.Int(temp.grade);
     String remarks= "";
     if ((grade>=90)&&(grade<=95)){
     remarks= "Exellent";
     else if ((grade>=85)&&(grade<=89)){
     remarks= "Very Good";
     else if ((grade>=80)&&(grade<=84)){
     remarks= "Good";
     else if ((grade>=75)&&(grade<=79)){
     remarks= "Satisfactory";
     else if ((grade>=70)&&(grade<=74)){
     remarks= "Failed";
     else{
          remarks="Grade out of Bounds";
     System.out.println("Your Grade is "+grade+""+remarks);
     public static void main(String args[]){
     GradingSystem a = new GradingSystem();
     String grade = args[0];
     a.get_GradeEquivalent(grade);
I need your replies...plz

Hi,
this is working fine..
public class Grade{
public void get_GradeEquivalent(String temp_grade){
int grade= Integer.parseInt(temp_grade);
String remarks= "";
if ((grade>=90)&&(grade<=95)){
remarks= "Exellent";
else if ((grade>=85)&&(grade<=89)){
remarks= "Very Good";
else if ((grade>=80)&&(grade<=84)){
remarks= "Good";
else if ((grade>=75)&&(grade<=79)){
remarks= "Satisfactory";
else if ((grade>=70)&&(grade<=74)){
remarks= "Failed";
else{
remarks="Grade out of Bounds";
System.out.println("Your Grade is "+grade+""+remarks);
public static void main(String args[]){
Grade a = new Grade();
String grade = args[0];
a.get_GradeEquivalent(grade);
}

Similar Messages

  • Laptop needs an "Aperture Lite"? Just  for reviewing projects.

    I am never going to run Aperture on my powerbook or older
    computers. I do need to show clients their weddings.
    Apple! Any chance of an Aperture Lite that can view projects only on
    our 1.25 12inch powerbook? I don't need the conversions or other
    tools that drag down the speed. I do need to show client and would
    love the same interface for that purpose.
    Sure would be nice to see a light table, book design and review
    interface on our powerbook.

    There are many software programs that have lite
    versions. I don't see why
    Aperture can't also just for all of us with older
    powerbooks and computers that can meet the high end
    requirements. Aperture could read the powerbook
    requirements and install a lite version for viewing
    only. A lite version that is not so power hungry
    would be a great idea for client review. A lite
    version could read the raw files and display proxy
    that would open fast, show a light table or even have
    the book design feature.
    I was thinking out loud about what would be nice for
    those of us with the older powerbooks that can not
    install or use Aperture. A trimmed down version
    would still be valuable in the way we want to use it
    as a library and for showing clients our wedding
    galleries.
    iPhoto or Preview would work for this and they both cost nothing, actually even on my iBook Aperture is very usuable for browsing and proofing.
    iBook G4 12" 1.33 1GB ram, iMac 233   Mac OS X (10.4.3)  

  • Help with Audio for Premiere Project

    Working on a lengthy project and need some help with audio which is not my specialty!
    I am recording using a Sony EX1r and a wireless lav mic,     OK.  Here is what is happening.
    When I import the clip into project I get Audio from the left speaker.   If I burn a DVD and playback on home player with surround sound, I get audio out of just the left speaker which makes sense.    SO I go to Premier and use "Fill Left" which fixes the audio on my computer and get sound from left and right speakers.    The odd thing is that when I play this version back from DVD on the surround sound system, the audio now only comes from the CENTER speaker.  I dont get anything out of left OR the right speaker so it sounds hollow.
    I am sure I am missing something obvious so please be kind.
    Is there an easy way to get my audio to come out of Left, Center, and Right speakers (and rear for that matter) ???
    Thank you
    Ted

    Bill,
    The DVD player is a Sony BluRay and the receiver is an Onkyo AV receiver HT-R380.    
    My thinking is that it is something that I am doing wrong inside Premiere vs something that the DVD player or receiver is doing.    My final product will need to play on a variety of DVD players so I need to get it right.
    It just seems odd that my default output DVD provides sound to the left speaker but then removes it when I fill Left.
    Am I setting up my audio tracks wrong?  Or should I being doing something with a 5.1 track???
    Thanks
    Ted

  • Need some help with tools for java projects

    Hi Friends,
    I just want to know what software release management tool do you use.Is there any free tool available on net??
    I do not need a subversion tool( cvs,svn etc) or a automation build tool ( luntbuild, cruisecontrol, anthill) , I am looking for some tool,that helps you manage the release after its made.For example,i would like to track down which release was made to which customer on which date,how many releases were made to any particular customer,what source code was shipped to the customer..and so on....
    Is there any such tool that can accomplish this???
    Thanks

    Hi Friends,
    I just want to know what software release management tool do you use.Is there any free tool available on net??
    I do not need a subversion tool( cvs,svn etc) or a automation build tool ( luntbuild, cruisecontrol, anthill) , I am looking for some tool,that helps you manage the release after its made.For example,i would like to track down which release was made to which customer on which date,how many releases were made to any particular customer,what source code was shipped to the customer..and so on....
    Is there any such tool that can accomplish this???
    Thanks

  • Help!  Audio for 16mm project, material to FCP and back again to 16mm

    I am getting ready to send an AIFF file of the audio I created on FCP, working with video that was created from a 16mm to video transfer at my lab. They tell me the transfer was a non-drop frame transfer. The lab made a digital file from the transfer, which I imported into a FCP project with 23.98 sequence settings.
    I want to compare the frame length of my WP to that of my video file so that I can determine how the audio house who will be transferring the AIFF to mag needs to compensate, and I am confused about how to measure the video file's frame length. If the sequence settings are at 23.98 fps, and the project runs from 1:00:05;12 to 1:11:49;08, to determine the frame length should I be assuming there are 24 frames per second or 30?
    I don't have access anymore to the FCP so I can't check but a basic question is: if the sequence setting are set to 23.98fps, does that mean the timeline only has 24fps? When I convert at 30fps, my video file is 22 frames longer than my WP...
    Thanks for any advice and questions--that all may be explained poorly...

    When your project and sequence settings are at 23.98, it is for two main reasons. 1. ou are working with video footage shot at 23.98 and 2. you are working with film (24 fps), which was ultimately telecined to video which runs at 23.98. This is mainly implimented because you plan on either going back to a higher resolution "online" which you will be synching up the timecode with a better quality copy of the tape at a coloring house, or you will be using the edl from the 23.98 sequence to give to a negative cutter, so they can cut the negative correctly according to the timecode and how it links with the keycode.
    I assume you are making a final product that will be on celuloid- an actual film print, not a video copy. is this correct?
    Please clarify the following: did you shoot on film, get a telecine to a beta or dvcam, do you have a timecode burn-in on the tape and when you captured the clips into final cut, did you utilize Cinema Tools?
    If you did run your clips through cinema tools, did you do it correctly (starting the process on the "aa" frame).
    Is your project set to 23.98 or just your sequence? when you place captured clips onto the timeline do they have to be rendered? Is this a sync project or was it shot MOS?
    And lastly, as I previously asked, are you sending all of your negative, the edl from FCP and the aiff to a negative cutter?

  • Help with Format for DVD Project

    I have been using FCP to create video with two tracks of audio (one instrumental & one vocal).
    I want to learn about format for output to DVD. I have exported as QuickTime movie and stereo downmix so that I have one track of audio in DVDSP and when it plays on 2 speakers I have the two channels of audio - one on instrumental, one vocal. Cool. To get that I must use Custom Settings as I learned from another thread posted here last week or so.
    Question #1:
    +What format do I use when I enter that custom setting window for the Aspect Ratio?+ I think it should be 4:3, yes?
    Question #2:
    Maybe I should be using Compressor. If yes - +how do I get those 2 tracks in FCP to get into that stereo downmix format? How do I get the 2 separate audio files in to compressor and output to DVDSP?+
    If in that process I end up with 1 video file and 2 audio files and import those assets into DVDSP, +Will I be able to have one audio track that has 2 channels? or will I be able to have 2 audio tracks that play on two different speakers?+
    I seem to be able to get the results I want most of the time, but I am basically phutzing around and somehow God honors it - I wish I knew more what I was doing.

    smidi wrote:
    Question #1:
    +What format do I use when I enter that custom setting window for the Aspect Ratio?+ I think it should be 4:3, yes?
    Depends on the source material, if it is 4:3 then 4:3 would be proper if it is 16:9 (HDV or anamorphic would in all likelihood be the ones you are using (?) then 16:9 would be the aspect ratio
    Question #2:
    Maybe I should be using Compressor. If yes - +how do I get those 2 tracks in FCP to get into that stereo downmix format? How do I get the 2 separate audio files in to compressor and output to DVDSP?+
    In older version of AC3 encoder (a.Pack) you could use two seperate files in and assign left right
    To export each side individually you should mute one audio track then export the other then reverse to get the other file (also look at page IV-147, IV-151 of the Final Cut Pro Manual - Chapter is called Exporting Audio for Mixing in case we looking at different versions)
    But if you bring the two audio files into DVD SP like that you will hear only one audio track (in DVD SP) at a time.
    If you take a look at Chapter 7 Page 96, Page 100 of the PDF (at least in the PDF I just popped up, not sure which Compressor you are running, it is in the section Creating Dolby Digital Professional Files) it describes the encoding selections a bit more.
    Are you running into an issue? Sounds like you are not (which is good )

  • I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    Try
    https://iforgot.apple.com

  • Trying to get 4 clips on the screen at once for school project - HELP!!!:)

    Hi there,
    I am trying to finish a school project about a fieldtrip which we have been on over the past few days and want four clips from the movie I have made to be on in the background while the title comes on the screen for each day.
    Can anyone help please? I have seen some plugins but cannot afford to buy them just for this video but am desperate to make it look how I want it!
    Thank you all in advance,
    Matt Williams

    You might try to use the button windows for your seperate movie clips. These can be moved about and enlarged. Try this site, it does a good job with an overview http://www.kenstone.net/fcphomepage/idvd_5stone.html
    The other way if you want only short portions of the four clips you can make them into short quicktime clips and drop them into the dropzones of a theme that has 4 drop zones. You do this by editing your clip (split at playhead) and sharing to QT then put in the drop zone.
    Not entirely sure what you are trying to do but hope that helps.

  • Could you help me creating a multilingual project in RH10 (using Trados for translations).

    Hi,
    I used to create a multilingual project in RH8 few years ago but can't read the files anymore. Could you give me advice so that I could rebuilt a multilingual project quickly. The procedure in the online help is too short and I fail when following it.
    Thanks in advance.
    BR
    Sandrine

    Hi Thank you for your reply.
    In fact I wanted to use my former project just to see how I managed it. But it is "damaged" when I want ti open it after the RH update. Now I have RH10 and not RH8 anymore.
    I need help on creating a multilingual project with RH10.
    In the RH Help document, the procedure is :
    Apply French language project settings by selecting French Language.
    2 Open an English topic, create a topic for the French language, and translate the content, including the topic title from
    English to French. (Do not translate topic filenames.)
    3 Create French tables of contents, indexes, and glossaries.
    4 Create a conditional build tag, such as FrenchContent.
    5 Apply the FrenchContent conditional build tag to French content and topics.
    6 Generate output for the French language.
    When I create topics with same names, I have a Error message "The file already exists". May be it will work in different folders.
    I'll try and let you know.
    Thanks for helping.

  • TS1702 I purchased 2 packages of gems for skylanders and only received 1 package. Got email receipts and tried to report problem on ipad2 and it keeps coming up with to many https redirects. Can anyone help? Just want my gems :).

    I purchased 2 packages of gems for skylanders and only received 1 package. Got email receipts and tried to report problem with link in email on my ipad2 and it keeps coming up with to many https redirects. Can anyone help? Just want my gems :).

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Can I send an e-mail to a specific person in Communities?  Want to thank them for their answer to a question that I didn't ask.  Just wanted to give him/her feedback that their info was very helpful.  Just a pat on the back to perhaps brighten their day.

    Can I send an e-mail to a specific person in Communities?  Want to thank them for their answer to a question that I didn't ask.  Just wanted to give him/her feedback that their info was very helpful.  Just a pat on the back to perhaps brighten their day.

    If you click on the person's name, you go to the public profile they have posted.  If there is an email address given you can email directly.  If not, you cannot email the person directly.
    You could post a reply to the persons reply on the communities to note their help.

  • Help I just hooked up my iPhone to my laptop for the first time and i accidentally chose to have it read it as my ipod so all my pictures were deleted off of it. I had not backed it up before. Is there anything I can do?

    Help I just hooked up my iPhone to my laptop for the first time and i accidentally chose to have it read it as my ipod so all my pictures were deleted off of it. I had not backed it up before. Is there anything I can do? Please tell me my photos aren't gone :[

    Did you by chance have photo stream turned on? If so then they might be there. When you restored your phone it deleted everything and they will be unretreivable from your computer.

  • Hi, can someone help me, I did my first page in Muse, and I did just for computer, I need to do for tablet and phone, I have to do?  thx

    Hi, can someone help me, I did my first page in Muse, and I did just for computer, I need to do for tablet and phone, I have to do?  thx
    Esto puede ser en español? por favor

    Hello,
    Please refer to the links below, you will find them very useful.
    Adobe Muse Help | Creating a website for Mobile devices
    How to create a mobile website with Adobe Muse | Adobe Muse CC tutorials
    Video Tutorials:
    Design for mobile first | Adobe Muse CC tutorials
    Mobile best practices | Adobe Muse CC tutorials
    Plan your mobile site | Adobe Muse CC tutorials
    Preview your mobile site | Adobe Muse CC tutorials
    How to create a mobile website with Adobe Muse | Adobe Muse CC tutorials
    Regards
    Vivek

  • Need help for my project(how to call function in ancestor object)

    dear all, i need your help for my project.My problem is stated as follow:
    say i have a class call frameA and frameB, both of them are extend from
    JFrame, frameA structure can be described briefly as follow:
    //frameA.java
    public class frameA extends JFrame{
    private frameB fb;
    public frameA()
    fb=new frameb();
    show();
    public void func()
    JOptionPane.showMessageDialog(null,"OK");
    now, my problem raised, after frameA and fb is created, how can i access the ancestor object(which is frameA) within fb's code,
    what should i add inside frameB? i need the answer urgently......
    thanx a lot!!!
    cheers

    Hi,
    For this kind of problem, I believe you can use the inner class.
    Here's the sample code I hope will help:
    class MyApp{ 
    B bFrame;
    A aFrame;
    class A extends JFrame{
    public void doSomething(){
    bFrame = new B();
    bFrame.doSomething();
    class B extends JFrame{
    public void doSomething(){
    aFrame = new A();
    aFrame.doSomething();
    If you have further question, you can email me your task sample code at [email protected] and I will solve it for you.
    With my best,
    Zike Huang(Jim)

  • Please help I just accidentally deleted a very very important note from my "Notes" on my iPhone 4s.  How can I get it back? Is there a "Trash" file somewhere for deleted notes?  Thank you, Susan

    Please help I just accidentally deleted a very very important note from my "Notes" on my iPhone 4s.  How can I get it back?
    Is there a "Trash" file somewhere for deleted notes?
    Thank you,
    Susan

    Had you never backed up the phone before? When you saw the iTunes logo and cable, the device was in recovery mode. The data was already lost. The only way to recover from that is to restore the device, which will delete all of your data. You will only be able to restore to your last backup, whenever that was. Sorry this happened, but this highlights the importance of doing regular backups. The backup is the only protection you have against a problem like this.

Maybe you are looking for

  • Trouble using Safari on iPad Air

    Hey guys. I'm having trouble with my iPad Air. When I'm online using a web page, safari just closes down on me out of the blue and I lose all my info. At first I thought the problem occurred with one particular page, but then I got the same problem w

  • N97 - Nokia Messaging msj: "Cannot connect to serv...

    Hello everyone, My name is Leonel and I´m from Argentina. I bought my N97 - 3 by internet. He fact is that i m trying to configure my Nokia Messaging with and IMAP account (job´s account) In the past I have had configured this account on my device, b

  • Problem listing available desktops

    Hi, I'm writing a webapp that present a list of available desktops. I've created a delegated admin and assigned this user to a role. I have then given this role the manage instance capability on two of my three desktops. If I log on to the portal adm

  • Photos disappear in Yosemite

    I was using Yosemite beta, downloaded and installed the commercial version yesterday. Opened iPhoto, got a message saying some photo permissions needed repairing and then, surprise, no photos in iPhoto. In the finder, thought, the info on the app. sa

  • HT4972 I cannot update from iOS 4.2.1

    I cannot update my iPad 1 from v4.2.1 to a newer version. Have tried connecting to my PC. The "Software update" button doesn't appear.