Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how t o get the following code using c + + Hello what is your name? Alice Nice to meet you, Alice Tell me ,

how to get the following code using c++
Hello what is your name?
Alice
Nice to meet you, Alice
Tell me, Alice what's your favorite number?
5
Great choice! Here are some fun facts about 5
-Double of 5 is 10.
-Half of 5 is 2.5.
5 squared is 25
-Square root of 5 is aproximately 2.23607
Now, Alice lets explore division. Give me a whole number!
8
Now, give me another whole number.
3
Using integer division, 8 divided by 3 is 2
Using floating point division, 8 divided by 3 is approxitmately 2.66667.
=============================
Thank you for testing my program!!
Programmer: Bob Brown
CMSC140 Project #1
Due Date: 2/12/2024
Press any key to close this window ...
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions