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:

4 Answers

How to Repair Corrupted MS SQL Database (MDF) File?


To choose a reliable and 100% safe and secure, a Microsoft SQL server database recovery program guarantee the zero loss of quality. You can see this page: http://www.en.repairsqlserver.net
See demo: http://www.youtube.com/watch?v=Q0aW1vT5nxA

May 12, 2014 | Microsoft Database Software A5K-02817 SQL...

1 Answer

Which version of java is installed on my computer ?


You can view the currently installed version of java by clicking on the link below:

http://java.com/en/download/installed.jsp

Once at the website, click Verify Java Version.

Dec 18, 2012 | ArcMedia JavaScript Source Code 3000 Pro...

1 Answer

Singer Futura CE 150, Problem 19 says check thread and bobbin, this I have done and all looks okay and is threaded correctly, but this fault keeps coming up when doing embroidery


I had this same problem for a while. How I fixed it is: take hold of the thread (between the spool & where it goes under the plastic covering) & give it a gentle but firm pull towards you. That will pull the thread into the sensors. I get this #19 error even when sewing & this fixes it everytime.

Dec 06, 2010 | Singer CE150 Futura SewingandEmbroidery...

1 Answer

''Error 1706''


My colleague says that when Error 1706 occurs during an attempt to install an MSI file from removable media, the first thing you should try to do is check the Media Package Pathway and determine if the pathway does in fact track to the right folder. If it does not, scan the removable media and locate the file where the MSI file is housed. In some cases, you may find that the MSI file is found in a folder that is named App1. Once you have determined where to find the right file, it is a matter of resetting the Media Package Pathway so that the system will find and activate the MSI file. This will require you to make some changes to the command line or possibly make a permanent change in the registry.
It is important to note that making changes in the command line and especially in the registry are functions that someone who is familiar with writing code and general information system functions should perform.
If you are not knowledgeable about these sorts of functions, there is every possibility that the modification will not result in resolving the issue regarding the MSI file. Further, the change may create additional problems with the media package.

May 28, 2010 | Computers & Internet

1 Answer

Windows Installer Box keeps popping up!


first find what u clik it may be windows word or officw 2003 problem.
remove ms office 20003 or any version.then install again.

Nov 16, 2008 | Wise Solutions Wise For Windows Installer...

4 Answers

Problem with Compaq Fortran & Vista


I found the solution fortunately:

It's enough to do a right click on the bottom: "Developer Studio" instead of double click, and select: "Run as Administrator" , then select: "Allow" and so on..

Try it, it works!

Aug 06, 2008 | Compaq Visual Fortran Professional Edition...

1 Answer

Keep getting windows installer error


Try downloading the Windows Installer 3.1 and installing that, then retry your install.

Dec 07, 2007 | Wise Solutions Wise For Windows Installer...

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

Related Topics:

202 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2638 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18333 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...