2009-07-19 10:13:16 on Need help with C++ assignment.
@nogifts
I have looked at that site but can’t find any examples to go by thanks though
2009-07-19 10:08:57 on Need help with C++ assignment.
I wonder why my whole post didn’t show up? But here it is again
Need help with C++ assignment.
I need to make the source code for Create a C++ console application that converts a time entered in minutes into either a hour/ minute format or into seconds.
It must contain a structure a decision statement and enumeration and constants for the conversion factors. Hers’s what I have so far but I cannot figure out the rest.
#include iostream>
#include iomanip>
using namespace std;
int main()
{
enum menuOptions {hrsMin = 1, secs = 2, exit = 3};
//Displays menu
cout “Please make a selection:\n”;
cout hrsMin ” - Hours and Minutes\n”;
cout secs ” - Seconds\n”;
cout exit ” - Exit\n”;
cout “Enter your choice: “;
int usersChoice = 0;
cin >> usersChoice;
//Performs selected operation
int min;
int hh , mm;
int sec;
cout “Enter minutes: “;
cin >> min;
if (usersChoice == 1);
hh = min / 60;
mm = min % 60;
if (usersChoice == 2);
sec = min % 60;
if(usersChoice == 3);
cout “You have chosen to exit”;
cout setw(2) setfill(’0′) hh “:”
setw(2) setfill(’0′) mm ‘\n’;
return 0;
2009-06-25 07:26:18 on WARNING!
your a hottie and should need to cut yourself. I hope that you heed your own advice and also stop getting envolved with relationships that are abusive. Good luck to you.
2009-06-25 07:19:10 on why are all all the guys i like or date total f**King d**kheads seriously, where the hell are all the nice guys n y r they nvr inrested in me ?
right here
2009-01-07 08:01:25 on I use Ares, a peer to peer soft, all goes well till last week.
First download and use PeerGuardian 2. Then download a different client like azurues, utorrent, or bitlord. Hope this helps
2009-01-07 07:58:06 on can anyone give an unblocking website for myspace?
Do your school work. Education is better than meeting people on myspace
2008-12-22 07:49:24 on I’m hoping someone can clarify this:
here take a look at this
http://www.yourdictionary.com/compromise
2008-12-22 07:11:03 on How do I change the name of a software program in Windows?
If it is a shortcut on the desktop then right click on icon, go to rename and type in whatever you want.
2008-12-21 06:41:55 on I have a computer with 256MB DDR1 RAM,80GB hard drive.I
Kaspersky Internet security is the best out there in my oppinion. It has a wide variety of things like banner ad blocker parental controls, antivirus fire wall, auto spam blocker, etc. Try for yourself Kaspersky.com. Go to downloads then go to kaspersky internet security 2009 trial download. IIts free for 30 days.
2008-12-20 07:34:48 on Today is one of those days.
I have no address for them to go by. Plus being injured on the job nobody wants to get involve with that . So Im getting screwed either way.
2008-12-20 07:15:12 on i dont understand.
Sounds like your in love. Here’s a n old saying If you love someone let them go if they come back to you then it is true love if not then the love was never there.
2008-12-20 07:13:00 on I want to get some different opinions and perspectives on this if you guys don’t mind helping?
Sounds like you guy have a good relationship. But like I said don’t rush into marriage. That is a lifetime commitment. Just take it slow and be patient
2008-12-20 07:07:09 on I want to get some different opinions and perspectives on this if you guys don’t mind helping?
And how is it going. Sometimes marriage changes people for the better or for the worst.
2008-12-20 07:05:23 on I need help buying my two children Christmas presents.I’m
I am abit computer savy. wouldn’t call myself a scammer. I don’t expect anything from anyone. i’m just here to help just like everyone else is trying to do.
2008-12-20 07:03:23 on I want to get some different opinions and perspectives on this if you guys don’t mind helping?
If u just gor engaged keep it that way for a while.Do the two of u live together. If not I suggest doing that for a while too. That way you can learn each others habbits and such. Don’t rush into marriage you have the rest of your life for that and if he truly wants to marry you then he will agree to take things slow. Hope this helps.
Popular on CBS sites: SEC Football | NFL | Video Game Cheats | iPhone | Video Game Reviews | Notebooks | Antivirus Software
About CBS Interactive | Jobs | Advertise
© 2009 CBS Interactive Inc. All rights reserved. | Privacy Policy (UPDATED) | Terms of Use