Question: Use the C++ coding method labeled in bold to reach the desired output for each set of the following statements: (I'm unsure if it matters

Use the C++ coding method labeled in bold to reach the desired output for each set of the following statements:

(I'm unsure if it matters but I am using Microsoft Visual Studio 2015 (Community), Win32 Console Application to write the coding.)

Use the C++ coding method labeled in bold to reach the desiredoutput for each set of the following statements: (I'm unsure if it

This is the desired output:

matters but I am using Microsoft Visual Studio 2015 (Community), Win32 Console

Application to write the coding.) This is the desired output: This isThis is what I have so far

// Assignment 2.cpp : Defines the entry point for the console application.

//

#include "stdafx.h"

#include

#include

#include

#include

#include

using namespace std;

int main()

{

cout

cout

cout

cout

cout

int c = 36;

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

char i;c

cout > ic;

char f = 65;

cout

cout

unsigned int h = -23;

cout > h;

cout

cout

return 0;

}

The entered 1st real number is:3.5 The entered 2nd real number is:5.3 The sum of the two real numbers is : 8.8 The product of these two real numbers is: 18.55 The quotient of these two real numbers is : 0.660377 The whole number part of 1st numbers is : 3 The whole number part of 2nd numbers is : 5 The fractional part of 1st numbers is: 0.5 The fractional part of 2nd numbers is: 0.3 Please enter an Integer to convert to a float:35 The integer as a float 35.000000 Please enter a float to convert to an integer 6.2 The float as a integer Please enter 1st string: Hello The 1st string is : Hello The length of this string is:5 The first letter of this string is : H The last letter of this string is :o Please enter a 2nd string: World The 1st string concatenated with the second string HelloWorld The 1st string concatenated with the second string with a space in between is Hello World Press any key to continue . . . The entered 1st real number is:3.5 The entered 2nd real number is:5.3 The sum of the two real numbers is : 8.8 The product of these two real numbers is: 18.55 The quotient of these two real numbers is : 0.660377 The whole number part of 1st numbers is : 3 The whole number part of 2nd numbers is : 5 The fractional part of 1st numbers is: 0.5 The fractional part of 2nd numbers is: 0.3 Please enter an Integer to convert to a float:35 The integer as a float 35.000000 Please enter a float to convert to an integer 6.2 The float as a integer Please enter 1st string: Hello The 1st string is : Hello The length of this string is:5 The first letter of this string is : H The last letter of this string is :o Please enter a 2nd string: World The 1st string concatenated with the second string HelloWorld The 1st string concatenated with the second string with a space in between is Hello World Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!