How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask jatechexpert Your Own Question

jatechexpert
jatechexpert, Engineer
Category: Homework
Satisfied Customers: 1410
Experience:  I can help you with your home work questions
Type Your Homework Question Here...
jatechexpert is online now
A new question is answered every 9 seconds

Build a command line C++ application that allows user to convert

Resolved Question:

Build a command line C++ application that allows user to convert pre-recorded temperature values from Fahrenheit to Celsius or from Celsius to Fahrenheit.

Once completed, user will be prompted by three options;
• Option 1 Convert Celsius to Fahrenheit
• Option 2 Convert Fahrenheit to Celsius
• Option 3 Exit
Any other entry must lead to warning message ( i.e “Invalid Entry”). And then, user will be asked choose one of the listed options again. Program will not stop unless “Option 3" is selected.

IF OPTION 1 SELECTED:
1. User will be prompted by “Celsius to Fahrenheit Process is initiated"
2. Then program reads temperatures in degrees Celsius from the given input file (data_Celsius.txt), calls the function (myc2f) to convert the temperature to degrees Fahrenheit, and write the converted temperatures in to an output file named as (LastName_Fahrenheit_Output.txt).
3. Then, program will produce a confirmation message on the screen “Celsius to Fahrenheit Process is completed"
4. Then ask user to choose from remaining options (i.e. Option 2, Option 3). Get the user’s entry, and then clear the screen.

IF OPTION 2 SELECTED:
1. User will be prompted by “Fahrenheit to Celsius Process is initiated"
2. Then program reads temperatures in degrees Fahrenheit from an input file (data_Fahrenheit.txt), calls the function (myf2c) to convert the temperature to degrees Celsius, and write the converted temperature in to an output file named as (LastName_Celsius_Output.txt)
3. Program will produce a confirmation message on the screen “Fahrenheit to Celsius Process is Completed"
4. Then ask user to choose from remaining options (i.e. Option 1, Option 3). Get the user’s entry, and then clear the screen.

IF OPTION 3 SELECTED:
1. User will Prompted by “Exit from the Program"
2. Then, Exit from the Program. Program will not stop unless “Option 3" is selected.

-You will be submitting one c++ source code document which will generate two data files based on user’s input. You do not need to submit the input data files.
-You must design two functions (myc2f and myf2c).
-You may also make a void function for the “main menu”.
-Minimum 3 functions must designed.

INPUT DATA FILES:
Your input data files are
•Pre-recorded Celsius Data points (data_Celsius.txt) is provided: (-9, -7, 0, 2, 10, 17, 20, 24, 30, 36, 40)
•Pre-recorded Fahrenheit Data points (data_Fahrenheit.txt) is provided: (13, 20, 33, 40, 49, 58, 67, 80, 89, 90, 95)

OUTPUT DATAFILES:
Your code must produce output data files (LastName_Fahrenheit_Output.txt and/or LastName_Celsius_Output.txt) based on user preference.
Submitted: 5 months ago.
Category: Homework
Expert:  jatechexpert replied 5 months ago.
Hi

thanks for using justAnswer.com

I am Jatechexpert
i will help you
Customer: replied 5 months ago.

Thank you Jatechexpert! I need this code by 9pm.

Expert:  jatechexpert replied 5 months ago.
i am using Dev c++, is it Ok
Customer: replied 5 months ago.

What is the difference? I don't know what dev stands for. Will the c++ code work on my Microsoft Visual Studio 2012 compiler?

Expert:  jatechexpert replied 5 months ago.
i will send the code, you run it in your compiler
if any errors, inform me
Customer: replied 5 months ago.

OK thank you!

Expert:  jatechexpert replied 5 months ago.
ok then
Customer: replied 5 months ago.

Also, I submitted another question earlier today. It is for a program to provide output data file for a selected weather balloon’s performance.


Just wondering if anyone is working on it? I need it by 9pm.


Thanks

Expert:  jatechexpert replied 5 months ago.
i will do this

if anyone sees other program, someone will contact you soon
Expert:  jatechexpert replied 5 months ago.
hi

here is the answer link below

http://ge.tt/9TJzYIy/v/0

if you need anything more, inform me before rating this answer
Customer: replied 5 months ago.

Where is the confirmation message "Fahrenheit to Celsius Process is Completed." It is also supposed to produce an output file. The code you have given me seems half finished...

Customer: replied 5 months ago.

Will you be adjusting this code to include the missing parts that I specified in my earlier message? Please let me know. Thank you.

Expert:  jatechexpert replied 5 months ago.
lwt me check this
Customer: replied 5 months ago.

OK thank you.

Expert:  jatechexpert replied 5 months ago.
hi

1 option converts Celsius to Fahrenheit
2 option Convert Fahrenheit to Celsius
this produces the output files LastName_Celsius_Output.txt and LastName_Fahrenheit_Output.txt in the folder when the selection is made

here is the screenshot of the output

http://ge.tt/1XPiaLy/v/0

LastName_Fahrenheit_Output.txt file
http://ge.tt/8hqDbLy/v/0

LastName_Celsius_Output.txt
http://ge.tt/60ZZbLy/v/0

hope this helps
Customer: replied 5 months ago.

Where is the confirmation message "Fahrenheit to Celsius Process is Completed"?

Expert:  jatechexpert replied 5 months ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
jatechexpert, Engineer
Category: Homework
Satisfied Customers: 1410
Experience: I can help you with your home work questions
jatechexpert and 4 other Homework Specialists are ready to help you
Customer: replied 5 months ago.

It is not executing properly on my compiler: Microsoft Visual Studio 2012. When the program reads the temperature readings from the input file, it comes up twice for both Fahrenheit and Celsius. It also is not producing an output file.


 


Your screen shot of the output on the Word document is not showing up either.


 


It's okay though it's already tardy. I needed it at 9pm. Thank you.

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4514
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4514
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3099
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2453
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2258
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    2193
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1962
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1865
    Bachelors Degree and CPA with Accounting work experience