CS 2301 Float to Hex Programming Assignment Due before: Wednesday, May 5th, 2021 – 11:30 p.m. You will receive a grade of F not only on this project but also on your overall course grade if you use...

1 answer below »
Needs to be done inc c++ and I upload a document that contains instruction on how to this assignment


CS 2301 Float to Hex Programming Assignment Due before: Wednesday, May 5th, 2021 – 11:30 p.m. You will receive a grade of F not only on this project but also on your overall course grade if you use code that has been posted to an online tutoring service such as but not limited to chegg or coursehero. This can be done retro-actively after you graduate. Your instructor will be checking these and other websites for program similarity. If your code is too similar, you will receive an F in the course. Do not post this question or any course materials online in any format. This project must be completed individually. Your instructor will be comparing projects for similarity. If 2 projects are too similar they will be assigned a grade of F. This program must run successfully on either Visual Studio 2017 or 2019. Instructions: The purpose of this assignment is to learn how to convert a floating-point number into a hexadecimal (base 16) number. Write a complete C++ program that will allow the user to convert a sequence of floating-point numbers into hexadecimal numbers. The hexadecimal number must be stored in a vector of characters. System Requirements: 1. The main function will use a loop to do the following: 0. Input a floating-point number from the console screen. 0. Call a function entitled Float_To_Hex. This function will take a floating-point number in as a parameter. The function will return a vector of characters. This vector will contain the characters that make up the hex number. Example: 757.25 => ‘2’,’F’,’5’,’.’,’4’ 0. Call the function: Display_1D_Vector. This function will take in a vector of characters as a parameter. The function will output every character that exists in the vector. Note: The main function’s loop will end when the user does not input a ‘Y’ or ‘y’ to indicate that they want to continue. You can assume that the user will always input valid floating point numbers to convert. 1. The Float_To_Hex function should work for any valid non-negative floating-point number. Each element of the vector that is returned will contain either a ‘.’ or exactly 1 digit in the hex number. If there are no significant digits to the right of the decimal place, the rightmost digit will contain a ‘0’. Sample Run: Notes: 1. Make sure that you can access your submission after submitting it. On rare occasions Blackboard will not save your work after you submit it. 2. Place your name in comments at the top of your main .cpp file. 3. You will receive a grade of F not only on this project but also on your overall course grade if you use code that has been posted to an online tutoring service such as but not limited to chegg or coursehero. This can be done retro-actively after you graduate. Your instructor will be checking these and other websites for program similarity. If your code is too similar, you will receive an F in the course. Do not post this question or any course materials online in any format. 4. The program that you turn in cannot exceed the size of 50 MB. Blackboard cannot reliably store submissions that are greater than this size. 5. The program that you turn in will be a compressed .zip folder that contains the entire project environment (header files and source files). Only compress the folder into a .zip or .zipx file type. No other compressed file type such as .rar or .7z will be accepted. A grade of 0 will be assigned if this happens. The contents of the .zip folder will look something like this: 6. 50 points will be deducted for each day that this is turned in late. The most recent submission will be the one that is graded, even if it is late. This means that if you submit your project after the due date, 50 points will be deducted per day even if you turned in a previous version of your project prior to the due date. 7. If you use any references (such as from books) you need to list these references in comments at the top of your program. You can refer to the following C++ reference websites: a. https://en.cppreference.com/w/ b. http://www.cplusplus.com/reference/ c. https://www.tutorialspoint.com/cplusplus/cpp_references.htm d. https://www.geeksforgeeks.org/c-plus-plus/ If you use one of the above sites, you will need to state the exact web URL in comments at the top of your program. 8. Turn your .zip file into the dropbox labeled “Float to Hex”. Do not email your solution. 5 points are deducted for each time that you re-submit.
Answered Same DayMay 05, 2021

Answer To: CS 2301 Float to Hex Programming Assignment Due before: Wednesday, May 5th, 2021 – 11:30 p.m. You...

Pulkit answered on May 05 2021
136 Votes
83070/float-to-hex-assignment-description-spring-2021-1-0mnt3b0o.docx
CS 2301
Float to Hex Programming Assignment
Due before: Wednesday, May 5th, 2021 – 11:30 p.m.
You will rec
eive a grade of F not only on this project but also on your overall course grade if you use code that has been posted to an online tutoring service such as but not limited to chegg or coursehero. This can be done retro-actively after you graduate. Your instructor will be checking these and other websites for program similarity. If your code is too similar, you will receive an F in the course. Do not post this question or any course materials online in any format.
This project must be completed individually. Your instructor will be comparing projects for similarity. If 2 projects are too similar they will be assigned a grade of F.
This program must run successfully on either Visual Studio 2017 or 2019.
Instructions:
The purpose of this assignment is to learn how to convert a floating-point number into a hexadecimal (base 16) number.
Write a complete C++ program that will allow the user to convert a sequence of floating-point numbers into hexadecimal numbers. The hexadecimal number must be stored in a vector of characters.
System Requirements:
1. The main function will use a loop to do the following:
0. Input a floating-point number from the console screen.
0. Call a function entitled Float_To_Hex. This function will take a floating-point number in as a parameter.
The function will return a vector of characters. This vector will contain the characters that make up the hex number.
Example: 757.25 => ‘2’,’F’,’5’,’.’,’4’
0. Call the function: Display_1D_Vector. This function will take in a vector of characters as a parameter.
The function will output every character that exists...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here