Question about Microsoft Computers & Internet

2 Answers

C++ problem I'm trying to make a program in C++ but errors keep in popping up! The question goes like this; Write a program that determines if the the input letter matches the first letter of a color. given samples are b for blue, r for red, g for green, and y for yellow. Other letters considered as ''unknown color! This involves the usage of else-if statement. I'm a new user of C++! Kindly help me please.. Thnks and God bless! John

Posted by on

  • Kaleb Hawkins Oct 05, 2012

    I'm also new to C++ so anything i may can help with id love to!

×

2 Answers

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that got 5 achievements.

    Greenhorn:

    A rookie expert who has answered 20 questions on their first day.

    Cheetah:

    An expert who has answered 20 or more questions within one hour.

  • Expert
  • 76 Answers

Ok i think what the question means is make a program that ask the user to type a letter of one of the corresponding colors for example

char letter;
cout << "type a letter: "
cin >> letter;

if the letter is r
cout << "red"
else
cout << "unknown color"

for a legit example of the code please email me ill send you a full compilable source for this example only not the whole project but itll be enough to build on kryptonix@gmx.us

Posted on Oct 05, 2012

  • Level 1:

    An expert who has achieved level 1.

    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.

  • Contributor
  • 33 Answers

When it comes to else, if, or else-if statements, once you understand how they work you will be laughing. It is not very difficult to understand, and for all C/C++ programmers (New or Experienced alike) I would suggest reading the information and tutorials located at http://www.cprogramming.com/tutorial.html

This is a great resource site for any C/C++ programmers out there, especially if you have been single tasked and forgot how to do something.

Posted on Feb 13, 2009

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

My pandigital has a box pop up that says "Sorry" The process android.process.acore has stopped unexpectedly. Please try again. Force close." It just keeps popping up and won&#39;t let me do anything....


Try holding down the power and volume up buttons down for several seconds to try and soft reset your device. Power down and restart it. You don't state your model of Pandigital-that makes it hard to determine exact reset procedure. Also look for a small hole on the back or sides of the device, into which you can push a toothpick or paper clip to push a reset button (check your manual for location and reset procedure for your device). You can also try powering down, then press the volume down button and while holding that down, press the power button to turn the device back on. The error indicates a major problem with the base android software - did you recently upgrade software or install some new app? If it was a new app, try uninstalling it and see if the problem goes away.

Jan 02, 2015 | PANDIGITAL Novel Color Multimedia eReader

1 Answer

Every time I start my computer windows installer tries to run a scan program. How do I stop this? I tried to X out of the program and it just keeps trying to re install ,with error messages.


Type this on RUN command at the strt menu
msconfig
after that go to Startup tab then uncheck the program that automatically start when you boot your computer, or scan your computer with an updated anti-virus so that you can determined if your computer is infected with virus

Sep 24, 2010 | Computers & Internet

1 Answer

I have windows installer keep popping up with homestuden is on a network unavailable and this always pops up when i log on to my computer and also i guess my microsoft.net framework 2.0 service needs...


Error message when you try to install a 2007 Office program: "Microsoft Office <Product_Name> 2007 encountered an error during setup. Error 1714"

To work around this issue, use the Add or Remove Programs feature in Control Panel to uninstall the earlier version of Office. To do this, follow these steps:
  1. Click Start, click Run, type appwiz.cpl, and then click OK.
  2. In the Currently installed programs list, click the Office program that you want to remove, and then click Remove.
  3. In the Add or Remove Programs dialog box, click Yes.
After the earlier version of the Office program is uninstalled, then install the 2007 Office program.

Jan 16, 2010 | Microsoft Office Home and Student 2007...

1 Answer

L6 error keeps popping up


That is a laser error. The motor that drives the mirrors is most likely oing bad, The laser unit will have to be replaced.

Jan 30, 2009 | Xerox WorkCentre XD105F Laser Printer

1 Answer

Installation?


Hai,
first instal program software from the site provided by dell install in d/drive and strat your program if any case error pops up retry by software from intel

Dec 25, 2008 | Dell Inspiron 6000 Notebook

1 Answer

Acer Aspire 5570Z


Ok that is just a program that comes with the Acer laptops, it really is Useless and I dont use it on my computer, its part of the acer e management , e recovery, and etc programs that acer made. To fix this you can uninstall it under the ADD/remove programs or if you want to keep it you can then goto the acer website and under support put your model number in and download that particular software again and it might fix itself if there where some type of missing files on that particular software. Secondly if this is a vista machine it could be the software is not compatible and it causes the OS to crash which then comes with that error to the user and never goes away . Hope my answer gets you closer to a solution.

Jul 30, 2008 | Acer Aspire 5500 5570-2609 Laptop

1 Answer

Attempting to Register Adobe Photoshop Album 3.0 Error


I received an unlock code from the Adobe Company and was able to unlock the program. I am now able to view my pictures and use other functions of the program.

Thank you for your assistance and help that you provide.

Jul 01, 2008 | Cameras

1 Answer

Wierd problem


It sounds like a program you have installed is having an error on startup. Dwwin.exe is the executable for Dr. Watson, an error reporting program that comes with windows. Errors like this usually raise a red flag with me, and the first thing I always do is scan for spyware and viruses. If you don't already use them, I would suggest using Spybot - Search and Destroy, as well as Ad-Aware SE for spyware, and Panda Activescan and Trend Micro Housecall for online virus scanning. (using multiple programs is always a good idea so nothing slips by.) Next, I would check your startup programs to see what is there to determine what could be generating an error. Your computer could also be missing critical updates that could solve many problems (as well as scan for malicious software if you are using windows XP). You should run windows update through the menu in internet explorer. Methods for these solutions depend on which operating system you are using. If you need any further help, give a list of all your startup items and which OS you are using and I (or someone else) can give more detailed instructions.

Nov 20, 2006 | Dell Dimension 4600 PC Desktop

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

Related Topics:

204 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2644 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18381 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

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

Answer questions

Manuals & User Guides

Loading...