WORLD OF COMPUTERS


 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Chapter 1.2: Using Variables

Go down 
AuthorMessage
Crash



Posts : 15
Join date : 2010-08-21

PostSubject: Chapter 1.2: Using Variables   Sat Aug 21, 2010 4:39 am

The usage of variables will be explained in next tutorial.

Source code:
Quote :

#include <iostream>
using namespace std;

int main()
{
int x, y, result;

x = 4;
y = 7 + x;
result = y;

cout << "Phrase: x + y (4 + 7)" << endl;
cout << "Result is " << result;
cout << "\n\n";

system("pause");
}
Back to top Go down
View user profile
 
Chapter 1.2: Using Variables
Back to top 
Page 1 of 1
 Similar topics
-
» Why we can't use this variables codes in the Templates
» two variables in one variable
» Brealey Myers Allen 10e Chapter 19 Solution Pdf.rar
» Creating the account (URL) globally and using that variable where ever it needed
» Entering a time stamp in comment / text box?

Permissions in this forum:You cannot reply to topics in this forum
WORLD OF COMPUTERS :: Computer Programming :: C++-
Jump to: