Problem getting program to run correctly

I have an assignment where I need to write a program inputting test scores and outputting the minimum, maximum, and average scores. The program runs, but I cant get the min and max scores right. Also, pressing 999 doesn't force the program to quit.
Here is what I have...
import java.util.Scanner; //For scanner class
import java.text.DecimalFormat;
public class Testscores
{ public static void main (String [] args)
     {//instructions
     System.out.println("Enter test scores, and get the lowest score, the highest score, "
          + "and the average. ");
     System.out.println("Enter 999 to quit. ");
     //scanner
     Scanner kbd = new Scanner (System.in);
     //variables
     int score = 0;
     int total = 0;
     int count = 0;
     final int maxposs = 100;
     final int minposs = 0;
     int min = maxposs;
     int max = minposs;
     final int sentinel = 999;
     //input
     while (score >= 0)
     if (score <= 100 && score >=0)
     {System.out.print("Enter a score [0..100] (999 to quit): ");
     score = kbd.nextInt();
     total += score;
     count ++;
     else
     System.out.print(" Enter only 0..100 (999 to quit): ");
     score = kbd.nextInt();
     if (score < min && score > 0)
     {min = score;
     //output
     DecimalFormat formatter = new DecimalFormat ("#0.00");
     if (count >0) //genuine scores entered
     {System.out.println("The minimum score is " + min + "." );
     System.out.println("The maximum score is " + max + "." );
     float average = (float) total / (float) count;
     System.out.println("The average score is " + average + ".");

import java.util.Scanner;             //For scanner class
import java.text.DecimalFormat;
public class TRx
    public static void main (String [] args)
        //instructions
        System.out.println("Enter test scores, and get the lowest score, " +
                           "the highest score, and the average. ");
        System.out.println("Enter 999 to quit. ");
        //scanner
        Scanner kbd = new Scanner (System.in);
        //variables
        int score = 0;
        int total = 0;
        int count = 0;
        final int maxposs = 100;
        final int minposs = 0;
        int min = maxposs;
        int max = minposs;
        final int sentinel = 999;
        //input
        boolean morePlease = true;
        while (morePlease)
            System.out.print("Enter a score [0..100] (999 to quit): ");
            score = kbd.nextInt();
            if(score == sentinel)
                break;
            if(score < minposs || score > maxposs)
                System.out.print(" Enter only 0..100 (999 to quit): ");
                continue;
            if (score < min)
                min = score;
            if(score > max)
                max = score;
            total += score;
            count ++;
        //output
        DecimalFormat formatter = new DecimalFormat ("#0.00");
        if (count >0)                   //genuine scores entered
            System.out.println("The minimum score is " + min + "." );
            System.out.println("The maximum score is " + max + "." );
            float average = (float) total / (float) count;
            System.out.println("The average score is " + average + ".");
}

Similar Messages

  • [SOLVED] I can't get X to run correctly after new install

    Hi all,
    Over the last few days I have been trying to get Arch Linux installed on an old computer that I have. The only major hurdle that I have had so far has been getting wireless to work (no wired connection available here). I got that sorted out yesterday though with a bit of research
    I haven't been so lucky getting X to run though. Following the Beginners' Guide, I have gotten up to the part where I have to configure and test X. This is what I have done so far:
    Basically I have tried to use Xorg -configure to auto-create an Xorg.conf, which seemed to work (as in, the file got created and looked okay).
    I then set up hotplugging with HAL, setting up everything as it says in the Beginner's guide.
    When I ran the Xorg test with X -config /etc/X11/xorg.conf, I got a black screen with no mouse or anything.
    I rechecked xorg.conf to make sure the driver was correct (it's set to "radeon" which seems to be right). I also checked the horizontal and  vertical refresh are set correctly - which they were (autodetected correctly by Xorg -configure).
    I then had a look through the Xorg page on the wiki, but nothing much there seemed to help.
    I then decided to not use hotplugging with HAL, so I removed it from starting at startup and set up my xorg.conf to have the autoadddevices as false.
    After that, I am having the exact same problem when I run the Xorg test (X -config /etc/X11/xorg.conf).
    I really have no clues as to what to do now, does anyone have any tips for an Arch Linux n00b?
    My graphics are provided onboard by an ATI RS480 (Radeon Xpress 200G Series). I am using the "radeon" driver, provided by the xf86-video-ati package. My screen is an LG FLATRON L246WH.
    My relevant config files are:
    xorg.conf xorg.conf
    ~/xinitrc doesn't exist for me.
    /var/log/Xorg.0.log.old isn't able to be uploaded by wgetpaste for some reason... Using the verbose switch indicates that it's saving to /dev/null. I'll keep trying to work out how to get this file uploaded somewhere... it's quite long - 881 lines.
    Last edited by NovaAesa (2009-08-09 04:16:51)

    Did you miss the step to copy the skeleton .xinitrc to your home directory? Please do this. Then try starting X as a normal user, not root.
    You can also try starting the Xserver without any xorg.conf file as jdiez has done. That works for many people.
    To lessen your copy and paste problems, and to help you sort out the logfile, try the following two commands as a normal user in your home directory:
    grep "(EE)" /var/log/Xorg.0.log > xorg_faults
    grep "(WW)" /var/log/Xorg.0.log >> xorg_faults
    This will locate the log lines displaying errors (EE) and then warnings (WW) and write them to the file ~/xorg_faults. Errors will be listed first. This file should be much smaller than the original Xorg.0.log.
    For hot-plugging and HAL, make sure you have dbus installed.
    pacman -Q dbus
    If it's not there, you should install it with pacman.  HAL is supposed to start dbus, but I'm a belt and suspenders person, so I list dbus then hal in my /etc/rc.conf daemons.
    The wiki also has an article on Xorg that may be of help to you.
    Last edited by thisoldman (2009-08-09 03:35:31)

  • Cc2014 loads then closes. cannot get program to run

    my cc2014 will load, then pop up states program closed. cannot get it to run.

    I did read those tutorial files and the CATALINA_HOME and JAVA_HOME are set correctly- these were set just the same on another computer the other night and it worked fine and ran the first time.
    The docbase is pointing to ROOT - as far as i can see in the server.xml file
    - i've tried installing it on a newly installed windows 2000 machine- and it won't work on it either- is it maybe something with windows 2000?
    i'm using the java sdk 1.4.1 and using tomcat 4.1.24 and windows 2000.
    more help would be appreciated, i don't know what i will do if i cna't get this working- i have a week to come through on the project that depends on it.

  • I can't  get my program to run correctly

    I made a calculator but i can't get the values to update correctly. If you run my code you'll see what I'm talking about. The value number isn't updating and I can only enter in a double digit number (using the buttons) as the initial number. I think its a problem with my boolean statement, but I've tried everything I could think of and things only get worse. (I still haven't figured out the decimal button either.)
       import java.awt.BorderLayout; 
       import java.awt.Container;
       import java.awt.GridLayout;
       import java.awt.event.ActionEvent;
       import java.awt.event.ActionListener;
       import java.awt.event.WindowAdapter;
       import java.awt.event.WindowEvent;
       import javax.swing.JButton; 
       import javax.swing.JFrame;
       import javax.swing.JLabel;
       import javax.swing.JPanel;
       import javax.swing.JScrollPane;
       import javax.swing.JTextArea;
       import javax.swing.JTextField;
       public class CalculatorFrame4 extends JFrame
          public CalculatorFrame4()
                   JPanel calculator=new JPanel();
                   mainPanel();
                   pack();
              public void mainPanel()
                   number=0;
                   nextNum=0;
                   result=0;
                   operator="=";
                   start=true;        
                   numberField =new JTextField();
                   numberField.setEditable(true);
                   final JButton button1 =new JButton("1");
                   final JButton button2 =new JButton("2");
                   final JButton button3 =new JButton("3");
                   final JButton button4 =new JButton("4");
                   final JButton button5 =new JButton("5");
                   final JButton button6 =new JButton("6");
                   final JButton button7 =new JButton("7");
                   final JButton button8 =new JButton("8");
                   final JButton button9 =new JButton("9");
                   final JButton button0 =new JButton("0");
                   final JButton divbutton =new JButton("/");
                   final JButton multbutton =new JButton("*");
                   final JButton minusbutton =new JButton("-");
                   final JButton plusbutton =new JButton("+");
                   final JButton decbutton =new JButton(".");
                   final JButton equalsbutton =new JButton("=");
                   class NumberListener implements ActionListener
                        public void actionPerformed(ActionEvent event)
                             Object source =event.getSource();
                             if (start)
                                  if (source == button1)
                                       numberField.setText(numberField.getText()+1);                                   
                                  else if (source == button2)
                                       numberField.setText(numberField.getText()+2);
                                  else if (source == button3)
                                       numberField.setText(numberField.getText()+3);
                                  else if (source == button4)
                                       numberField.setText(numberField.getText()+4);
                                  else if (source == button5)
                                       numberField.setText(numberField.getText()+5);
                                  else if (source == button6)
                                       numberField.setText(numberField.getText()+6);
                                  else if (source == button7)
                                       numberField.setText(numberField.getText()+7);
                                  else if (source == button8)
                                       numberField.setText(numberField.getText()+8);
                                  else if (source == button9)
                                       numberField.setText(numberField.getText()+9);
                                  else if (source == button0)
                                       numberField.setText(numberField.getText()+0);
                                  number=Double.parseDouble(numberField.getText());
                             else
                                  numberField.setText("");
                                  if (source == button1)
                                       numberField.setText(numberField.getText()+1);
                                  else if (source == button2)
                                       numberField.setText(numberField.getText()+2);
                                  else if (source == button3)
                                       numberField.setText(numberField.getText()+3);
                                  else if (source == button4)
                                       numberField.setText(numberField.getText()+4);
                                  else if (source == button5)
                                       numberField.setText(numberField.getText()+5);
                                  else if (source == button6)
                                       numberField.setText(numberField.getText()+6);
                                  else if (source == button7)
                                       numberField.setText(numberField.getText()+7);
                                  else if (source == button8)
                                       numberField.setText(numberField.getText()+8);
                                  else if (source == button9)
                                       numberField.setText(numberField.getText()+9);
                                  else if (source == button0)
                                       numberField.setText(numberField.getText()+0);
                                  nextNum=Double.parseDouble(numberField.getText());
                   ActionListener listener =new NumberListener();
                   button1.addActionListener(listener);
                   button2.addActionListener(listener);
                   button3.addActionListener(listener);
                   button4.addActionListener(listener);
                   button5.addActionListener(listener);
                   button6.addActionListener(listener);
                   button7.addActionListener(listener);
                   button8.addActionListener(listener);
                   button9.addActionListener(listener);
                   button0.addActionListener(listener);           
                   class CalculateListener implements ActionListener
                        public void actionPerformed(ActionEvent event)
                             numberField.setText("");
                             Object source=event.getSource();
                             if (source==divbutton)
                                  operator="/";
                             else if (source==multbutton)
                                  operator="*";
                             else if (source==plusbutton)
                                  operator="+";
                             else if (source==minusbutton)
                                  operator="-";
                             else if (source==equalsbutton)     
                                  operate(nextNum);
                                  numberField.setText(""+number);
                             start=false;
                   ActionListener calclistener =new CalculateListener();
                   divbutton.addActionListener(calclistener);
                   multbutton.addActionListener(calclistener);
                   plusbutton.addActionListener(calclistener);
                   minusbutton.addActionListener(calclistener);
                   equalsbutton.addActionListener(calclistener);
                   JPanel controlPanel = new JPanel();
                   controlPanel.setLayout(new GridLayout(4, 4));
                 controlPanel.add(numberField);
             controlPanel.add(button7);
             controlPanel.add(button8);
             controlPanel.add(button9);
                   controlPanel.add(divbutton);
               controlPanel.add(button4);
             controlPanel.add(button5);
             controlPanel.add(button6);
                   controlPanel.add(multbutton);
                   controlPanel.add(button1);
             controlPanel.add(button2);
             controlPanel.add(button3);
                   controlPanel.add(minusbutton);
                   controlPanel.add(decbutton);
             controlPanel.add(button0);
             controlPanel.add(equalsbutton);
                   controlPanel.add(plusbutton);
             JPanel clearPanel = new JPanel();
                   final JButton clearbutton =new JButton("CLEAR");
             clearPanel.add(clearbutton);
                   class ClearListener implements ActionListener
                        public void actionPerformed(ActionEvent event)
                             number=0;
                             nextNum=0;
                             numberField.setText("");
                 ActionListener alistener =new ClearListener();
                   clearbutton.addActionListener(alistener);
                   getContentPane().add(numberField, BorderLayout.NORTH);
             getContentPane().add(controlPanel, BorderLayout.CENTER);
             getContentPane().add(clearPanel, BorderLayout.SOUTH);
              public void operate(double otherNum)
                   if (operator.equals("/"))
                        number = number/otherNum;
                   else if (operator.equals("*"))
                        number = number*otherNum;                                
                   else if (operator.equals("+"))
                        number = number+otherNum;
                   else if (operator.equals("-"))
                        number = number-otherNum;
              private boolean start;
              private double number;
              private double nextNum;
              private double result;
              private String operator;
              private JTextField numberField;
         }Here's the test program
       import javax.swing.JFrame;
       public class CalculatorTest
          public static void main(String[] args)
             JFrame frame = new CalculatorFrame4();
             frame.setTitle("Calculator");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             frame.show();
       }

    I am no expert, in fact I am a very newbie. But I was trying to get my code to update too, and I didn't know I had to call the validate() function...try doing that, if you haven't already, also read up on validate() from the Component (or Container) API. I didn't really look through your code, I wouldn't be able to keep it in my head anyway.

  • Labview program stops running correctly after computer is switched on one hour

    Hope to get help on this strange problem.
    I have a Labview program (executable using a run time version) running on a
    portable computer (Dell Inspiron 4000 with Windows ME) which collects
    measurement data and stores these to a file over a long time period. When I
    start up the portable and then start my Labview program, the program fails
    to work correctly exactly one hour after the portable has been started (in
    fact, the program remains active but stops collecting and writing data).
    However, if I start this Labview program just after that the portable has
    already been active for one hour, the program is not interrupted and
    continues to run for hours without any problems.
    Obvi
    ously, I have switched off all power management, screen savers, virus
    scanners etc. to avoid interference of these, but without success. I have
    run the same Labview program without any problems on a different Windows ME
    system. Also on Win98 or 95 systems I have observed no problems. Does anyone
    have a tip to which program or process could be activated in Windows ME
    exactly one hour after the computer has started up and which might interfere
    with Labview applications (when I look at all tasks running under Windows ME
    I don't have an idea where to look at first).
    Thanks in advance,
    Martien

    Did you shut off power management in the BIOS setup also?
    Sounds like something is scheduled to go to sleep at 1 hour,
    either the serial port or hard drive?
    "Martien Janssen" wrote in message
    news:wfyf7.445764$[email protected]..
    > Hope to get help on this strange problem.
    >
    > I have a Labview program (executable using a run time version) running on a
    > portable computer (Dell Inspiron 4000 with Windows ME) which collects
    > measurement data and stores these to a file over a long time period. When I
    > start up the portable and then start my Labview program, the program fails
    > to work correctly exactly one hour after the portable has been started (in
    > fact, the program remains active but stops collecting and writing data).
    >
    However, if I start this Labview program just after that the portable has
    > already been active for one hour, the program is not interrupted and
    > continues to run for hours without any problems.
    >
    > Obviously, I have switched off all power management, screen savers, virus
    > scanners etc. to avoid interference of these, but without success. I have
    > run the same Labview program without any problems on a different Windows ME
    > system. Also on Win98 or 95 systems I have observed no problems. Does anyone
    > have a tip to which program or process could be activated in Windows ME
    > exactly one hour after the computer has started up and which might interfere
    > with Labview applications (when I look at all tasks running under Windows ME
    > I don't have an idea where to look at first).
    >
    > Thanks in advance,
    >
    > Martien
    >
    >
    >
    >
    >

  • Problems getting programs and settings back to where they were before A/I

    I had to do an archive and install because the OS X 10.4.9 update messed up my system. I am now back on my MAC with v.10.4.8. The problem now is that some of my applications are acting weird. They aren't loading up the settings they should be. I tried copying the Library folder onto my MAC HD root directory and tried to replace the new one that was there and it didn't let me do it because it errored. First it said you will need to type in your administrator password in order to replace the Library folder then, right after, it said an unexpected error occurred? How do I go about getting these settings and these programs functioning again. Guitar Rig and EZdrummer won't load up when I start logic it says they can't be found or something, and I tried replaced just the Audio folder in the Library folder and it wound up not working right and now that folder is empty. I still have all the archived files in the Previous Systems folder in the root directory on my MAC HD. Can anyone help me?

    Hi,
    Check the link below and use Microsoft Fix it:
    Diagnose and fix sound playback and audio problems automatically
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • How do I get programs to run once I've installed them??

    when I download something, it goes to the "allow" buttone, then the install now, then the" firefox must be restarted.. then when it restarts, it's back at the "allow" button and I do it all over.. and again it's back at the "allow" button... please help

    Hi there. It's pretty much as I described, a very simple, one action workflow. I will attempt to post a picture.
    /Users/stevo/Desktop/Workflow.png
    It's Rename Finder Items
    Add Date or Time
    Date/Time: Modified
    Where: After name
    Separator: Underscore
    Format: Month Day Year
    Separator: Dash
    Use Leading Zeros: checked
    I think the problem is that as soon as the item is renamed in the folder, that counts as a modification date change (or a "new item being added" and so it just re-runs on the "new" item.
    This particular Action has never given me what I wanted. It doesn't accept variables, so I can't use it to add short user name as a suffix to a renamed file. Seems like Automator wants me to rename it and THEN move it to a folder, but in that case I can't get the folder to be watched and trigger the rename.
    I believe I'm S.O.L. on this one, but if anyone has a solution, I'm all ears.

  • Problems getting tomcat to run on localhost or anywhere...

    I have a huge problem, I have a servlet that i'm developing for the company of my internship, and this is the first servlet i've ever had to develop. It has taken me the entire semester to get as far as i have, and i have a lot of time invested in getting this servlet-centric application to work.
    My problem is that i cannot even get tomcat web container to work right on just the local computer- much less the server it will need to run on to support this web app. I have looked through tons of documentation on the web and on the apache website for help on configuring tomcat, and have worked through tutorials on how to get it working, but have not yet had a success story. Time is really running to the line now!
    I have read that in order for tomcat to run on IIS you need to configure 'isapi_redirect.dll' and get IIS to filter requests to tomcat. I have even worked through tutorials in doing this, but cannot get it working still. I have tomcat installed, and even shutting off IIS will not allow me to run tomcat and get even an example file included with tomcat to load up when pointing to http://localhost:8080/ or any port listed in the server.xml config file. I can though, get IIS's default page to come up when it is running by pointing to http://localhost/.
    I have exhausted all ideas i have to try and make it work, and am not consulting the forum for help. I know there must be a simpler way to get tomcat working at least on the localhost. ANY advice that leads to me being able to get tomcat running right so i can even just test my servlet how it would run on my local computer would be very very great help. Also, if help can be given on how to get it installed with least amount of hassles on a web-hosting server it would be very appreciative.
    I am in desperate need of help on this,
    please please help me!
    -mike

    Found the problem- setup turned out a lot easier when i downloaded the right Tomcat file- i had the .zip- which doesn't have an installer on it- so i just talked to a friend, he recommended the one with the installer- less to go wrong in configuration- and it works perfect for the local machine at least- the server might be an issue with support mostly though- don't know yet til i test it there- thanx for trying to help- but got the problem fixed before you guys got the chance to really help much.

  • Problems getting FSB to run Stable at 400mhz

    I own the delta model of the k7n2 and it's supposed to run at 400mhz as is my CPU: AMD 3000+ XP w/ Barton core but every time I try to run it at the 400mhz FSB the system crashes whenever I begin to run a program.  I can run the FSB at 333mhz and I have absultely no stability issues but truth be told I payed the money for the 400mhz MB and 400mhz CPU so I'd like to be able to use what I payed for.  I really can't see what the problem is as the system has a fresh install of windows, newest drivers for all hardware, and all of the hardware is listed on the compatability lists of the respective hardware manufactureres.
    My system specs are as follows:
    AMD Athlon 3000+(400mhz)
    1.0G DDR Dual Ram(2 512mb sticks - both the same, bought as a set)
    Gainward FX PowerPack Pro/680 Geforce FX 5200 256MB
    MSI K7N2 Delta ILSR MB
    Maxtor Daimond 80.0G HD ATA 133 IDE
    I honestly am at a loss at the moment as to why the system only crashes at the 400mhz FSB when both the MB and CPU support it. Any help would be greatly appreciated.

    Need more specific info on your rig...manufacturer names and part numbers would help...IRQ listing as well...PSU specs...
    Read this:
     Moan Guide
    Bonz

  • Can't get Photoshop to run correctly.

    Hi
    I have a monthly CC subscription but can not update from Photoshop v14.0 which is now two updates behind. When I try to update I get a message telling me that Photoshop is up to date when it is obviously not.
    I also appear to be missing some features such as the Filter Gallery.
    Any help appreciated.

    Please verify your Ps version from Help→System Info and provide us with the following files:
    You can find them at:
    Installer logs
    For Mac:
    Library\Logs\Adobe\Installer
    For Win:
    Program Files(x86)\Common Files\Adobe\Installers
    AAM logs
    For Mac:
    /Volumes/%Volume Name%/Users/%Username%/Library/Application Support/Adobe/AAMUpdater/1.0
    For Win:
    C:\Users\\AppData\Local\Adobe\AAMUpdater
    You can zip all the files together and send us through mail ([email protected]). This would help us in finding the root cause.
    Appreciate your help. Apologize for the inconvenience.
    Regards,
    Ashutosh

  • Problem getting video to run in SWF

    I have a student who is using Flash CS4 Pro.  She has imported an flv, chosen a skin and placed the video on the stage.  If you test by Ctrl+Enter the swf is created and plays quite happily.  However, if you go to the folder where the swf is pubished and load the swf it either opens a blank window where neither video or skin appear or a window opens with the flash player logo flashing on/off.  We've tried what we can think of like reassigning the paths in the component inspector be doesn't work.  The fla, swf and skin are all in the same root directory.
    My first thought was that there may have been some change on our network that was interfering but the same student has another swf she made several weeks ago using the same method which has 4 videos in the same swf and it still works fine.  This suggests the methodology and the network are valid. 
    Not sure what to do.  This is the last part of the student's A level coursework due in next Friday so any suggestions really welcome.

    If you test by Ctrl+Enter the swf is created and plays quite happily.  However, if you go to the folder where the swf is pubished and load the swf it either opens a blank window where neither video or skin appear
    Sounds to me like a pathing problem.
    Depending on how the folder structure is set up, going directly to the .swf and clicking on it in it's folder... and the video not playing... does not necessarily mean that the pathing is wrong or the .swf is broke. In fact, if the .swf video player is to be used on a Web page outside of the folder that the .swf is stored in, the .swf should NOT work when directly clicked on. That's because the pathing from the .swf to Flash assets such as the video file... pathing needs to be relative to the Web page the .swf will be used on and NOT the physical location of the .swf.
    For your review:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    If you need further help, see if you can post the page online somewhere... we will diagnose.
    Best wishes,
    Adninjastrator

  • Having problems getting website to upload correctly...Please someone help

    This is what it looks like after uploaded to web
    I exported it to dreamweaver from photoshop... I used slices for liks and I think this may be the problem but I dont know how to fix.
    Can someone please help me?

    Photoshop is for making images and quick comps to show the client.  The HTML it generates  is not suitable for production sites because the layout is rigid and unstable.  As soon as you try to edit a Photoshop generated web page in DW, everything falls apart.
    Have a look at this 3 part tutorial:
    Taking a Fireworks (or Photoshop) comp to a CSS Layout in DW
    Part 1 - Initial Design
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html
    Part 2 - Markup preparation
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt2.html
    Part 3 - Layout and CSS
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt3.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • MOVED: Problems getting 4GB DDR3 running + how do you switch of auto voltages ? X48C

    This topic has been moved to Overclocking & Modding Corner.
    https://forum-en.msi.com/index.php?topic=128634.0

      Please, read your manual, & the instructions on how to change the settings & values is all covered in the manual '&' on the bios lower part of the screen. Just for a quick answer, use your keyboard page up/page down or arrow keys, & the +/- keys on the numbers pad.
    If your board didn't come with a manual, download one from the MSI Website.

  • Hi! I purchased my ATV in Miami, but I live in Argentina. I have not been able to get the device running on any TVs. When I plug it in, it briefly shows the apple logo, then a sign saying no signal, check power cords and power source or sthg like that.

    Hi!
    I purchased my AppleTV in Miami, but I live in Argentina.
    I have not been able to get my device running correctly, and altough I've read tons of things online, I still have no solution to my problem.
    Here's the thing: after everything's plugged in and ON, I see the Apple logo briefly, then the TV displays a sign that says no signal, check pwoer cords and power source.
    But everything is plugged in and connected properly, otherwise, I doubt I'd be seeing the apple logo, right?
    I tried changing the HDMI cable, reversing the ends, switching ports, hard resetting the ATV, and trying a different TV. No luck.
    I read there is some issue with Samsung TVs, and most LED and LCD tvs down here are Samsung.
    On the other hand, I cannot return it or exchange it, since I bought it in the states.
    Oh! One of the tvs I tried it on displays a little sign that reads "connected at 1280x720 @60hz", and only THEN, goes to the "no signal" sign.
    Please!!! I am being driven up the walls here.... HELP!!

    Try this:
    Change the Apple TV resolution:
    Press and hold the Menu and Up button on your Apple Remote for six seconds.
    The Apple TV will automatically cycle to the next resolution at approximately 20 second intervals.
    Press Play on the Apple Remote to keep the current resolution or Select to manually cycle to the next resolution.

  • In my pc  my  AIR app  run correctly but when i try to open it in other pcs not run correctly

    hi friends
    any one can help me please...
    i had created air app very nice about my school ,so after i build the application and test it in my pc its run correctly without problems, but when i to try open after installed  it
    in other pcs the program not run correctly exactly show me empty window with progress dots like this :
    with my respects

    What are you expecting to display? Is it data? Images?
    It's possible that you've written your code such that it references a path on YOUR specific machine. Always try to avoid references to C:/ or /<yourUserName>/someFolder as you're not guaranteed that they'll exist on other machines.

Maybe you are looking for