i have two project for my college class and i need help with the code and need to know what to do if anyone can help me i would like that.
project one:
Write a program that prompts the user to enter an integer between 0 and 35. If the number is less than or equal to 9, the program should output the number; otherwise it should output A for 10, B for 11, C for 12, etc… and Z for 35
Hint: Use the cast operator, static_cast<char>( ), for numbers >= 10.
Run your program once for each of the following inputs. Copy and Paste the output from each run into a comment block AFTER the end of your source code. Submit the completed program to Moodle.
Run 1: Integer 0
Run 2: Integer 9
Run 3: Integer 10
Run 4: Integer 25
Run 5: Integer 35
project two:
Samantha and Vikas are looking to buy a house in a new development. After looking at various models the three models they like are colonial, split-entry, and single-story. The builder gave them the base price and the finished area in square feet of the three models. They want to know the price per square foot of the three models and the model with the least price per square foot. Write a program that accepts as input the base price and the finished area in square feet of the three models. The program outputs the price per square foot of the three models and the model with the least price per square foot.
Your program must use nested if/else statements to compare the price per square foot of the models.
Run your program once for each of the following inputs. Copy and Paste the output from each run into a comment block AFTER the end of your source code. Submit the completed program to Moodle.
• Run 1:
Price of Colonial = 150,000. Finished area of Colonial = 1800 square feet.
Price of Split-Entry = 165,000. Finished area of Split-Entry = 1950 square feet.
Price of Single-Story = 135,000. Finished area of Single-Story = 1500 square feet.
• Run 2:
Price of Colonial = 195,000. Finished area of Colonial = 1900 square feet.
Price of Split-Entry = 205,000. Finished area of Split-Entry = 2100 square feet.
Price of Single-Story = 185,000. Finished area of Single-Story = 2000 square feet.
i dont know what to realling do for these if you could tell me what to do or write it out so i can look at it i would really like it
thanks