Question about Computers & Internet

1 Answer

TO USE SWITCH CASE

IN THIS I HAVE TO ACCEPT A OPERATOR LIKE + FOR ADDITION -FOR SUBTRACTION AND TO PERFORM RELATED OPERATIO BY ACCEPTING INPUT FROM USER

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 55 Answers

I'm assuming you mean this is a programming problem, not the power supply problem you posted under. Here's an example in C, java and such are similar.

Assuming that InputKey is the operator you want to check.
char InputKey;

switch (InputKey) {
case '+':
// do addition here
break;
case '-':
// do subtraction here
break;
default:
// If it's none of the above, do this
};

Posted on Feb 15, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Do I have a negative battery system or positive battery system?


If you have a 12volt standard electrical system in your vehicle.
It is both positive and negative. The travel inverter converts this 12 volt DC current into 110v 60hz AC current so you can plug in your electronics that require standard household current to charge/operate.
There is a built in USB port if you device will accept this for 12 volt power. It also has the power oultet with ground for 110v 6hz power.
Link below has a good picture and description. Hope this helps!

http://www.sears.com/diehard-120-watt-ultra-slim-travel-inverter-with/p-02871520000P

Dec 30, 2013 | Sears DieHard 120Watt Ultraslim Travel...

1 Answer

Does a ATX power transformer makes the difference of watts of a power supply unit of a computer? Exactly I am planning to improve performance of my pc's ATX power supply unit. Trying to attach another...


NO NO NO... PC power supplies are switching supply's. The transformers use high voltage to drive other components. Increasing the power out of the supply will require you to upgrade the power supply to a higher wattage output.

Oct 23, 2013 | Microsoft Computers & Internet

1 Answer

While cleaning my step-mother turned her monitor off and cant figure out how to turn it back on


Most monitors have very small switches either on the lower front frame (below the screen), on the right side frame, or in a few cases at the bottom of the frame (cant be seen from the front, unless you duck under it). Hit every one of the buttons in sequence, like 10 seconds apart, to give the monitor a chance to warm up and start. Evidently, stop hitting on buttons when the monitor lights up. Do not worry about hitting the wrong buttons, since they will not accept any commands while the monitor is turned off.

Jul 03, 2011 | Acer Computers & Internet

1 Answer

Which way for the unlabaled 115v setting?


the power supply will accept any voltage between 110 and 250 without the need for a switch, the red switch on the back is for the leds

Feb 25, 2011 | Kingwin Lazer LZ850 850W Modular 80 PLUS...

1 Answer

I am using UPS of 600VA from zebronics company,recently my ups is not giving any backup,the moment power is off it is getting switched off. plz help me out,vat should i do now?


I would first check the connections to make sure the battery is connected. If it was working before it should be connected unless someone has removed it for maintenance, etc.

Other than that my next suggestion is more than likely either the battery is bad and not holding/accepting a charge, or the charging circuit in the UPS itself has faulted and is not sending charge voltage to the battery.

May 03, 2010 | Computers & Internet

1 Answer

Smells like hot electrical from the power supply. which way should the round fan face in the case? Towards the motherboard or out the top. Ran system check, it is not hot. I thought it might be new and...


Is this a new ATX switch mode power supply?
If the ATX power supply is old then the capacitors may leak and overheat to give a burn't smell. I would not advise you to try and repair these power supplies, they operate with dangerous mains voltages inside the case.
The ATX power supply has standard mountings holes that line up with the desktop case and can only be fixed to the case in one position.
If you have overheating problems you can add addition 12volt fan inside case, The fan should be positioned to draw air into the case.

Dec 04, 2009 | Dynex 400-Watt ATX CPU Power Supply

1 Answer

Acer laptop won't charge.


When you finally get the charge light to come on, does the battery get fully charged? How long can it run while not plugged in?
A junker will not charge properly, or hold a charge for a short period of time. If this is the case, time to get a new battery.
If the battery seems to charge fine and the uptime is acceptable take a look at the charger and connectors, make sure their clean and free of debris. Maybe try to locate someone with the same charger and see if the problem continues (Some computer shops may have your charger)


Jul 17, 2009 | Acer Computers & Internet

1 Answer

A PS-5022-2DF Power Supply


When a power supply goes bad they are generally not worth repairing given the low replacement costs these days.
I have bought a lot of replacement Dell power supplies from this place over the years.
http://www.affordablesurplus.com/dell-PS-5022-2DF-0N0836-power-supply-250.asp
Remember a lot of Dell power supplies and motherboards are proprietary so you cannot use generic parts.

Aug 11, 2008 | Dell (9228C) 200-Watt Power Supply

1 Answer

Cleaning Memory


Hi,

I would assume that by "How can i clear my memory slots?" you are referring to removing some programs that run in the background and gobble up your memory.
In most Windows versions, you need to go to Start/Run and type "msconfig". On the windows that will pop-up, you need to click on the Startup tab. Uncheck all programs that are not essential to operation. Examples are Nero check, Adobe Reader_sl, Printer/Scanner Update and others. Additionally you can go to your Windows Task Manager and click on the Performance tab. Take note of the Total and the Available Physical memory. Click on the Processes tab. Determine which background program is running and using high memory.

Of course the simplest solution would be to add more memory.

Hope that this be of help/idea. Pls post back how things turned up or should you need additional information.

Good luck and kind regards.

Dec 14, 2007 | Computers & Internet

2 Answers

Is ther any power suply that i can use instead of my original one


Its physically different shape will probably require you to modify your case to accept a conventional power supply. Just did a quick search and found an Ebay active sale and an on-line store that had your power supply for a reasonable amount. That might be a more reasonable alternative for you. Ebay: http://search.ebay.com/search/search.dll?sofocus=bs&sbrftog=1&from=R10&satitle=power+supply+dps+185db&sacat=3666%26catref%3DC6&sargn=-1%26saslc%3D2&sadis=200&fpos=14850&ftrt=1&ftrv=1&saprclo=&saprchi=&fsop=1%26fsoo%3D1&coaction=compare&copagenum=1&coentrypage=search&fgtp= Other guy: http://affordablesurplus.com/delta-dps-185db-a-power-supply.asp

Dec 06, 2006 | IBM DPS-185DB (DPS185DB) Power Supply

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

44 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

joecoolvette
joecoolvette

Level 3 Expert

5660 Answers

kakima

Level 3 Expert

98694 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...