Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following code: #include using namespace std; int main ( ) { int in = 5 ; double dois = 2 . 1 ;

Consider the following code:
#include
using namespace std;
int main()
{
int in =5;
double dois =2.1;
int soma = in+dois;
cout << soma;
double soma2= in+dois;
//double soma2= in+dois+dois;
cout << soma2;
return 0;
}
Indicate the name of the first variable shown in the code that contains an integer is called
and the second variable that contains an integer is called
.

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

More Books

Students also viewed these Databases questions

Question

What is meant by planning or define planning?

Answered: 1 week ago

Question

Define span of management or define span of control ?

Answered: 1 week ago

Question

What is meant by formal organisation ?

Answered: 1 week ago

Question

What is meant by staff authority ?

Answered: 1 week ago

Question

Define the goals of persuasive speaking

Answered: 1 week ago